archives

« Bugzilla Issues Index

#3226 — 8.1.*: HomeObject: Empty -> undefined?


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.)


fixed in rev28 editor's draft

changed to use undefined


fixed in rev28