Re:Javascript Fundamentals: ‘this’ keyword
by pitaj on Saturday August 25, 2018 @05:14PM
(#17842605)
You're correct that other languages have first-class functions which are capable of handling context without the implicit-this style like JS. Rust, for instance, uses `self`-as-first-parameter style.
However, `this` has nothing to do with functions being objects, besides the fact that the prototype object is a member to the constructor function.
However, `this` has nothing to do with functions being objects, besides the fact that the prototype object is a member to the constructor function.