Export (0) Print
Expand All
Expand Minimize

2.1.8 [ECMA-262/5] Section 15.2.4.4, Object.prototype.valueOf ()

V0007:

The specification states:

2.  If O is the result of calling the Object constructor with a host object (15.2.2.1), then

     a.  Return either O or another value such as the host object originally passed to the constructor. The specific result that is returned is implementation-defined.

IE9 Mode, IE10 Mode, and IE11 Mode (All Versions)

When O is the result of calling the Object constructor with a host object, the this value is returned.

Show:
© 2014 Microsoft