On Tue, Mar 27, 2007 at 09:17:32AM +0800, zou lunkai wrote:
> >
> >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

Do you find all of these in the existing Number.as testcase ?
If not, can you add the missing bits there ?
Also, remember to check with different SWF version as that should
change behaviour.

--strk; 


_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to