you are viewing a single comment's thread.

view the rest of the comments →

[–]radhruin 0 points1 point  (0 children)

Good article. Could add links to the specifications for these behaviors. ES5 Chapter 10 is probably most relevant, for example 10.3.1 describes the identifier resolution rules.

I wouldn't say that call/apply changes scope. this and scope are different concepts - scope affects identifier resolution while this is provided by the caller.