We love JavaScript, but we must admit: it's weird.
Why does this
behave as it does? How does variable scope work? Why do we have such comical behavior when comparing mixed types? Let's pull back the covers of these scenarios, and learn how it truly works. You may find a new reason to fall in love with JavaScript.
This session demystifies a lot of JavaScript weirdness. Why does it do it this way? Let's think like the compiler and figure it out. We look at declaring (and not declaring) variables at various scopes, this
and how to control it with apply, bind, and =>, we look at the JavaScript event loop, and marshaling between promises and async/await (spoiler: no need to).
This will be a very interactive session where attendees get to think through each example.
YOU MAY ALSO LIKE:
JavaScript: The Grumpy Parts
Rob Richardson
Rob Richardson is a software craftsman building web properties in ASP.NET and Node, React and Vue. He’s a Microsoft MVP, published author, frequent speaker at conferences, user groups, and community events, and a diligent teacher and student of high quality software development.