archives

« Bugzilla Issues Index

#3819 — 9.4.1.3 BoundFunctionCreate should use target function's [[Prototype]]


BoundFunctionCreate is unconditionally setting the [[Prototype]] of the bound function it creates to %FunctionPrototype%. It should, instead set it to the [[Prototype]] of the target function. Otherwise, binding a function (such as a class constructor or generator function causes it to loose access to inherited properties.


fixed in rev33 editor's draft


fixed in rev33