archives

« Bugzilla Issues Index

#2107 — 9.3 Built-in Function Objects: Clarify whether built-in functions can change their [[Prototype]]


9.3 Built-in Function Objects, 3rd paragraph:

> Unless otherwise specified every built-in function object has a [[GetPrototypeOf]] internal method that, when called, returns as its value the Function prototype object (19.2.3).

This should possibly be amended to state that [[GetPrototypeOf]] only initially returns %FunctionPrototype%, after calls to [[SetPrototypeOf]] this may no longer be true.

Maybe just change to say that [[Prototype]] for built-in function objects is initially set to %FunctionPrototype% ?


fixed in rev21 editor's draft


fixed in rev21 draft