01 - Preheat oven to 350°F. Grease a 9x13-inch baking pan or line it with parchment paper.
02 - In a medium mixing bowl, whisk together the all-purpose flour, baking soda, and salt. Set the mixture aside.
03 - In a large mixing bowl, combine the melted butter, brown sugar, and granulated sugar. Mix until the mixture is smooth and well incorporated.
04 - Beat in the eggs one at a time until fully blended, then stir in the vanilla extract.
05 - Gradually fold the reserved dry ingredients into the wet mixture until just combined. Avoid overmixing.
06 - Gently stir in the semisweet chocolate chips. If desired, incorporate the chopped walnuts or pecans at this stage.
07 - Evenly spread the cookie dough into the prepared 9x13-inch baking pan.
08 - Bake for 23 to 27 minutes, or until the edges are golden brown and a toothpick inserted into the center emerges with only a few moist crumbs.
09 - Allow the chocolate chip cookie bars to cool completely in the pan on a wire rack before slicing and serving.