Julka Grodel
Framebridge
Julka Grodel

The Variable Crimes We Commit Against JavaScript

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.

Scopes in JavaScript are a misunderstood aspect by many developers and can create frustration when troubleshooting code. They’re also a common topic in technical interviews. This talk doesn’t require any knowledge of JavaScript specifically, but a proficiency in some programming language is helpful.

 


 

Julka Grodel is a Principal Software Engineer at Framebridge, a DC startup disrupting the custom framing market. She is happiest when she can get lost in the details and structure of a thing, making it for work her, making it work better, or cleaning it up to make it easier for others. By day, Julka channels this focus to empower Framebridge customers to frame everything they love and she enjoys seeing how creative and weird people get. When not toiling away for her corporate overlords she spends her time volunteering on literacy projects with the Junior League, in a Pilates studio, or doting over her blind cat Batman and his BFF Robin.