In a medium saucepan, melt the butter over medium heat, then bring it to a boil. Once it starts boiling, swirl the pan constantly until the butter passes foamy phase and becomes a deep amber color. Remove from the heat, and allow the butter to cool for 20 minutes.
While the butter is cooling, preheat the oven to 350F. Line a baking sheet with parchment paper.
Add the brown sugar, granulated sugar, eggs, and vanilla to the cooled butter in the saucepan and stir to combine. Add in your flour, baking soda, and salt . Stir using a wooden spoon until the dough comes together and the ingredients are evenly incorporated.
Stir in the chocolate chips.
Using a medium (2-tablespoon) cookie scoop, drop the dough 2 inches apart on the baking sheet. Bake for 10 to 12 minutes until the edges are lightly golden.
Allow the cookies to cool for 5 minutes on the baking sheet, then transfer them to a wire rack to cool completely. If desired sprinkle a small amount of flaked sea salt on top of the cookies as they are cooling. Store airtight at room temperature for up to 3 days