I should just compile a big list of "pls explain this" for JS. Currently: why is `new` a keyword instead of a function?
@josh_cheek Because constructors are just functions, `new` changes the value of `this`
-
-
@sgrif But a fn can do that, eg by invoking `bind` -
@josh_cheek Actually `bind` is ES5, too (maybe ES3?). Definitely wasn't always around - 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.