« Bugzilla Issues Index
#1882 — 15.4.3.10: Missing count = max(count, 0) step
- bug_id:
1882
- creation_ts:
2013-09-02 01:45:00 -0700
- short_desc:
15.4.3.10: Missing count = max(count, 0) step
- delta_ts:
2013-09-27 14:47:45 -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:
5294
- comment_count:
0
- who:
André Bargull
- bug_when:
2013-09-02 01:45:39 -0700
15.4.3.10 Array.prototype.slice (start, end), step 13.
Change to:
Let count = max(final - k, 0)
This covers the case when `final - k` is a negative value, like in `[1,2,3].slice(1,0)`.
- commentid:
5387
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-12 12:54:43 -0700
fixed in rev19 editor's draft
also in %typedArray% slice
- commentid:
5573
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2013-09-27 14:47:45 -0700
fixed in rev19