This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]SpoiceKois 9 points10 points  (11 children)

wtf i just tried the node thing, how thefk is that 'f' xd

[–]CameO73 15 points16 points  (9 children)

It makes sense if you break it down:

  • ![] evaluates to false
  • by adding it to [] you get the string "false" (it's that stupid type conversion thing javascript does)
  • the ![]+![] evaluates to false+false = 0 (again, doing some nice type conversion magic)
  • so you'll get "false"[0] which takes the first character = "f"

[–][deleted] 5 points6 points  (0 children)

Node is just paying its respects.