Re:Pythonic syntax to declutter Javascript
by TNO on Thursday January 14, 2010 @10:23PM
(#1054160)
With JavaScript 1.8.1:
[ Parent
| on HN ]
Re:Pythonic syntax to declutter Javascript
by jrockway on Thursday January 14, 2010 @10:57PM
(#1054210)
Is ?: really not right-associative in JavaScript? I thought PHP was the only language that messed that one up...
I wrapped it with parentheses out of habit. updated
Re:Pythonic syntax to declutter Javascript
by jrockway on Thursday January 14, 2010 @11:04PM
(#1054219)
That's a relief :)
Re:Pythonic syntax to declutter Javascript
by WalkingDead on Friday January 15, 2010 @04:06AM
(#1054540)
Doesn't work on V8, at least not on the version I am using. Which JS engine is 1.8.1 complaint?