Javascript: prototype of Number
Posted
by eugene y
on Stack Overflow
See other posts from Stack Overflow
or by eugene y
Published on 2010-03-08T10:43:01Z
Indexed on
2010/03/08
10:51 UTC
Read the original article
Hit count: 699
var x= 1;
Number.prototype.test = function () { return this };
x.test() === x.test() // false
Why does the ===
test return false?
© Stack Overflow or respective owner