01 - Preheat oven to 350°F (175°C). Grease and line a 9-inch square or round cake pan.
02 - In a large mixing bowl, whisk together mashed bananas, eggs, vegetable oil, granulated sugar, light brown sugar, and vanilla extract until smoothly combined.
03 - In a separate bowl, whisk together all-purpose flour, baking soda, baking powder, ground cinnamon, and salt.
04 - Gradually add the dry mixture to the wet ingredients, mixing gently just until fully incorporated. Avoid overmixing.
05 - Gently fold in chopped nuts or chocolate chips, if desired.
06 - Transfer the batter to the prepared pan and smooth the surface with a spatula.
07 - Bake for 35 to 40 minutes, or until a toothpick inserted in the center emerges clean.
08 - Allow the cake to cool in the pan for 10 minutes, then transfer onto a wire rack to cool completely. Serve warm or at room temperature.