Y
Hacker News
new
|
ask
|
show
|
jobs
by
andrewmunsell
4949 days ago
No if statements and a single, convoluted line:
http://jsfiddle.net/P8Dr2/2/
2 comments
rickhanlonii
4947 days ago
Good work, but why make it so complicated?
http://jsfiddle.net/4NnVw/3/
link
tterrace
4948 days ago
Shouldn't the ternary operator be excluded as well if you're doing 'no ifs'?
link