« Bugzilla Issues Index
#3276 — 19.1.2.1: 'keysArray' and 'from' not defined
- bug_id:
3276
- creation_ts:
2014-10-11 23:31:00 -0700
- short_desc:
19.1.2.1: 'keysArray' and 'from' not defined
- delta_ts:
2014-10-14 15:18:00 -0700
- product:
Draft for 6th Edition
- component:
editorial issue
- version:
Rev 27: August 24, 2014 Draft
- rep_platform:
All
- op_sys:
All
- bug_status:
RESOLVED
- resolution:
FIXED
- priority:
Normal
- bug_severity:
normal
- everconfirmed:
true
- reporter:
Michael Dyck
- assigned_to:
Allen Wirfs-Brock
- commentid:
10334
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2014-10-11 23:31:52 -0700
In 19.1.2.1 "Object.assign ( target, ...sources )",
step 5.b.iv says:
ReturnIfAbrupt(keysArray).
but 'keysArray' is not defined.
Change to 'keys'.
Also, step 5.d.i says:
Let /desc/ be the result of calling the [[GetOwnProperty]] internal method
of /from/ with argument /nextKey/.
but 'from' is not defined.
- commentid:
10342
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-12 11:34:35 -0700
fixed in rev28 editor's draft
fixed 5.b.1v
from is defined in 5.b.i and 5.d.i is only reachable if 5.b.i has been evaluated
- commentid:
10343
- comment_count:
2
- who:
Michael Dyck
- bug_when:
2014-10-12 12:22:55 -0700
(In reply to Allen Wirfs-Brock from comment #1)
>
> from is defined in 5.b.i and 5.d.i is only reachable if 5.b.i has been
> evaluated
Ah, right. When 'from' is not defined, 'keys' is necessarily an empty List, so the body of 5.d isn't executed.
- commentid:
10475
- comment_count:
3
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:18:00 -0700
fixed in rev28