In JavaScript, declaring variables at the top of functions is a bad idea (free video tutorial)

Here’s a free tutorial from my course On writing JavaScript well.

Several style guides for JavaScript recommend declaring all variables at the top of functions, in this video I’ll show you why that’s actually a bad idea.

  2 comments for “In JavaScript, declaring variables at the top of functions is a bad idea (free video tutorial)

Leave a Reply

Your email address will not be published. Required fields are marked *