3 posts tagged with "lexical scope"

    javascript: apply vs. bind vs. call

    2021-07-25

     | 

    ~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

    2021-07-25

     | 

    ~3 min read

     | 

    450 words

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

    closure & lexical scope

    2021-07-25

     | 

    ~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