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:


It has a strange symmetry, dont you think?


  1. Dude, this carries it too far. To the point of being lame. πŸ˜€

  2. thank you!

    I realised as well, that you could place a semi-colon at the beginning of the line, to make it more truly symmetrical:

%d bloggers like this: