JavaScript Scope

Akiko Green
2 min readJul 22, 2020
Halo Top Ice Cream Image

I remember encountering a plethora of errors regarding the Javascript scope. An error you will be more than acquainted with is the : RefrenceError. This just means when you assign a value to a variable without the let, or const keywords or if a variable/function is not in your current scope, JavaScript will yell at you and throw a RefrenceError the message that looks similar to this:

RefrenceError: assignment to undeclared variable…
Akiko Green

Software Engineer, Novice Blogger, Indoor Climbing Cutie 🥰


See more recommendations