Variable scope scope and the scope chain, step by step

BG
Code
    Console
    Scopes - every box has its own table of namesthe arrow points to the outer scope
    Looking up a name (lookup)