> On Apr 13, 2016, at 8:11 AM, Caitlin Potter <[email protected]> wrote: > > The thing is, V8 is getting this right, at least in ecma262 6.0 and later. I > haven’t checked ES5 to see if this has changed
ES6 refactored ToPrimitive but the semantics (except for the @@toPrimitive hook) did not change from ES5.1 (or ES3, for that matter). The ES5 equivalent is at http://ecma-international.org/ecma-262/5.1/#sec-8.12.8 <http://ecma-international.org/ecma-262/5.1/#sec-8.12.8> The V8 result is correct Allen
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

