« Bugzilla Issues Index
#3226 — 8.1.*: HomeObject: Empty -> undefined?
- bug_id:
3226
- creation_ts:
2014-09-16 00:22:00 -0700
- short_desc:
8.1.*: HomeObject: Empty -> undefined?
- delta_ts:
2014-10-14 15:17:46 -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:
10192
- comment_count:
0
- who:
Michael Dyck
- bug_when:
2014-09-16 00:22:03 -0700
It appears that a Function Environment Record's HomeObject is either an Object or the ad hoc value 'Empty'. However:
(1) 8.1.1.3 / para 2 says that the default value for HomeObject is *undefined*.
(2) There doesn't seem to be a particular need to introduce the value 'Empty'.
(3) Given the precedent of Undefined/undefined and Null/null, there's a temptation to think that 'Empty' is the name of the type whose only value is 'empty'.
So I suggest changing occurrences of 'Empty' to *undefined* in:
8.1.1.3 / Table 17
8.1.1.3.2 / step 1
8.1.1.3.4 / step 2
8.1.2.4 / step 6.a
(And if not, I think you have to at least fix point 1.)
- commentid:
10221
- comment_count:
1
- who:
Allen Wirfs-Brock
- bug_when:
2014-09-21 10:34:19 -0700
fixed in rev28 editor's draft
changed to use undefined
- commentid:
10397
- comment_count:
2
- who:
Allen Wirfs-Brock
- bug_when:
2014-10-14 15:17:46 -0700
fixed in rev28