Preheat the oven to 350°F. Line an 8-inch square baking dish with parchment paper, leaving some overhanging the sides. Set aside.
To a large bowl, add the flour, baking powder, cornstarch, and salt. Whisk to combine, and set to the side.
To a separate bowl, add melted butter, brown sugar and granulated sugar. Whisk well to combine. Add eggs and vanilla extract whisk again.
Pour the wet ingredients into the bowl with the dry ingredients. Stir well with a spoon to combine. Add 1 cup of M&Ms and gently incorporate with a silicone spatula or spoon. *Avoid over mixing.
Pour the dough into the prepared baking dish. Use an offset spatula or back of a spoon to spread into an even layer, then sprinkle the remaining ¼ cup of M&Ms evenly over the top.
Bake the bars in preheated oven for 18-20 minutes, or until the top is set. *The bars will still feel very soft to touch.
Remove from the oven and allow cookie bars to cool in the baking pan for 1 hour before removing and slicing into bars.
Notes
Line the baking dish with parchment paper to make removing the bars easier.
Increase the cooking time slightly for firmer cookie bars, or reduce the cooking time slightly for fudgier cookie bars.
Add ½ cup chocolate chips along with the M&Ms for extra texture and flavor.
Use classic M&Ms, mini M&Ms, or your favorite variety of M&Ms in this recipe.