Function.prototype.name is the name of the Function.prototype. The PR replaces the implementation with a proper getter.
I simply ignore any detection (this === Function.prototype or Object.hasOwn(this, 'name')) since nolyfill already assumes the runtime has the proper implementation.
Function.prototype.name
is thename
of theFunction.prototype
. The PR replaces the implementation with a proper getter.I simply ignore any detection (
this === Function.prototype
orObject.hasOwn(this, 'name')
) since nolyfill already assumes the runtime has the proper implementation.cc @jdalton