gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-commit] gnash ChangeLog server/asobj/Number.cpp testsui...


From: zou lunkai
Subject: Re: [Gnash-commit] gnash ChangeLog server/asobj/Number.cpp testsui...
Date: Tue, 27 Mar 2007 09:17:32 +0800


Weird, I tought Number was an instance of Function. Can you check this ?

yes, you are right.  So, Number.valueOf does make sense.

More checks here:

Number instanceof Function;                 //true
typeof(Number));                                  //function
typeof(Number.valueOf);                       //function
typeof(Number.valueOf()));                   //function
typeof(Number.__proto__.valueOf));      //function
typeof(Number.__proto__.valueOf()));    //object
typeof(Number.prototype.valueOf));       //function
typeof(Number.prototype.valueOf()));     //undefined




reply via email to

[Prev in Thread] Current Thread [Next in Thread]