I should just compile a big list of "pls explain this" for JS. Currently: why is `new` a keyword instead of a function?
-
-
Replying to @josh_cheek
@josh_cheek Because constructors are just functions, `new` changes the value of `this`1 reply 0 retweets 0 likes
Replying to @josh_cheek
@josh_cheek Yes, `new Foo()` is the same as doing `Foo.apply(Object.create(Foo.prototype))`
11:40 AM - 15 Oct 2015
0 replies
0 retweets
0 likes
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.