10 Oct

daily wtf

I saw this snippet on the daily wtf:

if b = b then
  b = true
end if

…and thought – how would I write that in JavaScript, if I wanted to keep the spirit of the thing, and add a little more “wtf” to it. Here y’are:

b=b==b?b==b:b;

It has a strange symmetry, dont you think?

2 thoughts on “daily wtf

Comments are closed.