01 - Preheat the oven to 350°F. Grease and line a 9-inch square or round cake pan.
02 - In a large bowl, whisk the mashed bananas, eggs, vegetable oil, granulated sugar, light brown sugar, and vanilla extract until the mixture is smooth.
03 - In a separate bowl, whisk together all-purpose flour, baking soda, baking powder, ground cinnamon, and salt.
04 - Gradually add the dry ingredients to the wet mixture, stirring gently until just combined. Avoid overmixing to maintain tenderness.
05 - Fold in chopped walnuts, pecans, or chocolate chips if desired.
06 - Transfer the batter to the prepared cake pan and smooth the top. Bake for 35 to 40 minutes until a toothpick inserted in the center comes out clean.
07 - Allow the cake to cool in the pan for 10 minutes, then transfer to a wire rack to cool fully. Serve warm or at room temperature.