Re:Show HN: A Javascript library to overcomplicate Five
by dclowd9901 on Friday July 25, 2014 @11:34AM
(#8085734)
Ah, so you have to have two dots... I suppose the first one denotes the floating point value, and the second denotes the prototype accessor. Very clever.
Number.prototype.amIFive = function(){ return this.valueOf() == 5; }
5..amIFive();