by simplify · 10y ago · 0 comments
Lhs.foo()
Lhs[foo]()
And
Foo() // where lhs is implied to be the scope object defining Foo
The last one seems to be what makes everyone super confused, but it is logically:
GetScopeWith("foo").foo()
Strict mode changes /one/ thing about|this|: whether the value of |this| undergoes object coercion