On Fri, Mar 23, 2007 at 05:47:13PM +0800, zou lunkai wrote:
> >>check_equals(typeof(Number.valueOf()), 'function'); // this is odd
> maybe a Ming bug?

I think it makes sense looking at ECMA-262 specs:
The "primitive" value of a constructor is still a 'function'.

> typeof(Number.prototype.valueOf()) == undefined  here!

It's likely inherited from Function:

Number.__proto__.valueOf()


--strk;


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

Reply via email to