Comment #2 on issue 2089 by [email protected]: Expose value wrapper's inner values
http://code.google.com/p/v8/issues/detail?id=2089

Can't the .valueOf() method be used to access the primitive value wrapped inside?

d8> var a = Object(5);
d8> typeof a
object
d8> typeof a.valueOf()
number
d8> typeof 5
number


--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to