Are global variables still slower than local variables in modern JavaScript engines?
I recently read "High Performance JavaScript" (2010) which states: The deeper into the execution context’s scope chain an identifier exists, the slower it is to access for both reads and writes. Consequently, local variables are always the fastest to access…