ladybird/Userland/Libraries/LibJS/Tests/builtins/Function
Linus Groh 202f855055 LibJS: Change non-ScriptFunction source string to "[native code]"
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] }".
2021-03-14 19:22:16 +01:00
..
Function.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.@@hasInstance.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.apply.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.bind.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.call.js Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Function.prototype.toString.js LibJS: Change non-ScriptFunction source string to "[native code]" 2021-03-14 19:22:16 +01:00