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 Actually `bind` is ES5, too (maybe ES3?). Definitely wasn't always around1 reply 0 retweets 1 like -
Replying to @sgrif
@sgrif@josh_cheek `bind` is ES5, but you could polyfill it if you needed to.1 reply 0 retweets 0 likes
Replying to @stevekinney
@stevekinney @josh_cheek OK but it requires `apply` and that wasn't added until ES3. My point is that new predates ability to polyfill
6:43 PM - 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.