![]() https://tc39.es/ecma262/#sec-function.prototype.tostring - this is how the spec wants us to do it. :^) Also change the function name behaviour to only provide a name for NativeFunctions, which matches other engines - presumably to not expose Proxy objects, and to prevent "function bound foo() { [native code] }". |
||
---|---|---|
.. | ||
Function.js | ||
Function.prototype.@@hasInstance.js | ||
Function.prototype.apply.js | ||
Function.prototype.bind.js | ||
Function.prototype.call.js | ||
Function.prototype.toString.js |