Status: New
Owner: ----

New issue 3429 by [email protected]: Array splice(0) should return empty array
http://code.google.com/p/v8/issues/detail?id=3429

The es5-shim is currently overloading the ArraySplice method in V8/Chromium environments due to its behaviour not matching the ES5 specification.

The test used:

  [1].splice(0).length === 0

Actual:

  [1].splice(0); // [1]

Expected:

  [1].splice(0); // []

* Source: https://github.com/es-shims/es5-shim/blob/v3.4.0/es5-shim.js#L246
* Downstream bug report: https://github.com/es-shims/es5-shim/issues/255
* Upstream ES5 spec: https://es5.github.io/#x15.4.4.12

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to