Preheat oven to 350°F (175°C).
Grease a 9x5-inch loaf pan or line it with parchment paper.
In a large bowl, whisk together flour, baking soda, salt, cinnamon, and nutmeg.
In another bowl, mix granulated sugar, brown sugar, mashed bananas, pineapple, oil, eggs, and vanilla until well combined.
Gradually add the dry ingredients to the wet mixture, stirring until just combined.
Fold in chopped pecans.
Pour batter into the prepared loaf pan.
Sprinkle extra pecans on top (optional).
Bake for 55-65 minutes, or until a toothpick inserted comes out clean.
Let the bread cool in the pan for 10 minutes, then transfer to a wire rack to cool completely.
Slice and enjoy!