I also love how `Boolean(false)` and `new Boolean(false)` mean different things.
-
-
Replying to @mistydemeo @ticky
Foo, Foo(), new Foo, and new Foo() all mean different things IIRC (don't even know what the third does)
1 reply 1 retweet 1 like -
Replying to @nicolas09F9 @mistydemeo
it’s really very simple, it… hmmpic.twitter.com/DsHR4QC70z
1 reply 0 retweets 4 likes -
Replying to @ticky
so are new C and new C() the same or not?! argh I swear PHP makes more sense
1 reply 0 retweets 1 like -
Replying to @nicolas09F9
they sure look the same to me, but there’s probably some obscure difference I can’t quickly reveal with this sort of test
1 reply 0 retweets 1 like -
Replying to @ticky @nicolas09F9
only obvious difference is that the “statement” form can’t send any arguments? I guess?
2 replies 0 retweets 0 likes -
for details, read the ECMAScript spec. for slightly less complicated details, read version 5.1 of the spec
1 reply 0 retweets 1 like -
(the newer specs are full of things like proxy-related stuff)
1 reply 0 retweets 0 likes -
Replying to @tehjh @nicolas09F9
that appears to say that they’re the same?
1 reply 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.