Preheat oven to 350°F (175°C). Line two 8-inch round cake pans with parchment paper and lightly grease the sides.
Brown the butter in a small saucepan over medium heat, stirring constantly until golden with brown specks. Remove from heat and let cool 10–15 minutes.
In a large bowl, whisk the browned butter, dark brown sugar, and granulated sugar until smooth.
Add eggs one at a time, whisking well after each addition. Stir in vanilla extract.
In a separate bowl, whisk together flour, salt, and baking powder.
Fold the dry ingredients into the wet ingredients just until combined.
Gently fold in the chocolate chips only. Do not mix M&Ms into the dough.
Divide the dough evenly between the prepared pans and press into an even layer. Sprinkle extra chocolate chips and M&Ms on top of each layer.
Bake for 18–22 minutes, until edges are set and centers are just cooked through.
Cool completely in pans, then chill layers briefly before assembling.