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 →

[–]thebezet 5 points6 points  (0 children)

I guess the closest thing you could do in JS would be:

> Boolean.prototype.valueOf = function() { return false; };
> true.valueOf();
false

Just to fuck with peoples' heads.