archives

« Bugzilla Issues Index

#4193 — 8.1.1.3 Function Environment Records: Retrieve [[HomeObject]] from [[FunctionObject]] ?


8.1.1.3 Function Environment Records

It's not strictly required to have a separate [[HomeObject]] field, because the home object can always be retrieved from [[FunctionObject]].


Probably too late to change this, maybe clean-up in ES7 ?


true, I did it this way to reenforce that the [[HomeObject]] only need to be retrieved once at function entry. (In case somebody decided to define some sort of crazy exotic functions with a mutable [[HOmeObject]].

We can look at this again in the ES7 spec.