Preheat the oven to 350°F / 175°C. Butter and line an 8" square pan with parchment paper.
In the microwave, melt the butter. Pour it into a medium sized mixing bowl.
Whisk in the brown sugar and granulated sugar until well combined.
Whisk in the egg and vanilla until very well combined.
Add in the flour, oats, baking soda, baking powder, and salt. Use a rubber spatula to fold the mixture together just until no flour streaks remain. Set aside.
Fudge
Add the chocolate, sweetened condensed milk, butter, and salt to a medium sized saucepan.
Place the saucepan over medium heat, and stir occasionally until the mixture is completely melted and smooth. Remove from the heat.
Transfer ~⅔ of the cookie dough to the prepared baking pan. Use your hands or the back of a measuring cup to pat the dough down into an even layer.
Pour the fudge over the cookie layer and smooth it out into an even layer.
Place small pieces of the remaining cookie dough randomly over the fudge layer (It will not be fully covered - this is okay).
Bake for 30 minutes or until the dough turns golden brown. Wait for the bars to cool to room temperature before slicing. Serve, and enjoy!