2 posts tagged with "lexical scope"

    javascript: apply vs. bind vs. call

    2022-11-28

     | 

    ~5 min read

     | 

    964 words

    Javascript contexts are a concept that continues to cause me confusion. What is and how does it work? For the most part, I can avoid issues…

    closure & lexical scope

    2022-11-28

     | 

    ~3 min read

     | 

    450 words

    When we say that Javascript is lexically scoped, what we mean is that a function will have access to the variables in the context in which…

Return to all tags