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 My interpreter is nearly good enough, but I need constructors, and don't have the steam to think through fn invocation again >.<1 reply 0 retweets 0 likes -
Replying to @josh_cheek
@josh_cheek maybe it's hard b/c I'm only using a stack pointer and no base pointer, so I have to track all offsets, but # of args is dynamic1 reply 0 retweets 0 likes -
Replying to @josh_cheek
@josh_cheek Also, what do parens do? eg `function(){}` vs `(function(){})`, I thought they make it an expr like C, but experiment disagrees.1 reply 0 retweets 0 likes -
Replying to @josh_cheek
@josh_cheek It does make it an expression. `function(){}()` is invalid syntax.1 reply 0 retweets 0 likes
Replying to @josh_cheek
@josh_cheek Literally only useful for the function case
11:37 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.