archives

« Bugzilla Issues Index

#1877 — 15.4.3.12: Array.prototype.splice still not web-compatible


Follow up from bug 429.

Web-compatible, de-facto results for splice() and splice(0):

js> [1,2,3].splice()
[]
js> [1,2,3].splice(0)
[1,2,3]


But per current spec this returns:

js> [1,2,3].splice()
[1,2,3]
js> [1,2,3].splice(0)
[1,2,3]


fixed in rev19 editor's draft

now handles the n args case


fixed in rev19