The Variable Crimes We Commit Against JavaScript

Julka Grodel (15.Nov.2017 at 16:30, 1 hr )
Talk at php[world] 2017 (English - US)

Rating: 5 of 5

Have you ever put a value into a JavaScript variable, and then been unable to use it where you needed it? Or created it and unintentionally overridden something you thought wouldn't be affected? JavaScript has an unusual way of handling where variables are available; we call this "where" a scope. In this talk, we'll go over how JavaScript variables 'bubble' up into higher scopes, how to restrict them to just where you want them, and how this affects variables in your functions.

Who are you?

Claim talk

Talk claims have been moved to the new site.

Please login to the new site to claim your talk

Comments closed.


Rating: 5 of 5

15.Nov.2017 at 17:17 by Mark Niebergall (120 comments) via Web2 LIVE

Great technical JavaScript talk that had lots of good examples and helpful slides. Talk moved pretty fast but covered many areas that helped me understand why JavaScript behaves the way it does. Very helpful talk.

Rating: 4 of 5

16.Nov.2017 at 09:21 by Eric Leversen (9 comments) via Web2 LIVE

Pro: The speaker obviously know the content matter and provided good examples in the slides.

Con: The speaker went through the slides too quickly and didn't stop to ask if the audience understood or had questions about the concept just explained. I would have benefited from her going back to the previous slide when explaining hoisting to show the difference between the written code and the how JS interpreted it.
The talk's title seems like clickbait

© 2019