« Bugzilla Issues Index
#1877 — 15.4.3.12: Array.prototype.splice still not web-compatible
- bug_id:
1877
- creation_ts:
2013-08-30 12:47:00 -0700
- short_desc:
15.4.3.12: Array.prototype.splice still not web-compatible
- delta_ts:
2013-09-27 14:47:56 -0700
- product:
Draft for 6th Edition
- component:
technical issue
- version:
Rev 17: August 23, 2013 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
André Bargull
- assigned_to:
Allen Wirfs-Brock
- commentid:
5289
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-08-30 12:47:55 -0700
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]
- commentid:
5389
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-12 17:01:25 -0700
fixed in rev19 editor's draft
now handles the n args case
- commentid:
5589
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 14:47:56 -0700
fixed in rev19