Files
ladybird/Userland/Libraries/LibJS/Runtime/NativeFunction.h
Linus Groh e4f165d460 LibJS: Add NativeFunction::create() overload for CreateBuiltinFunction
Also take a length argument and set the name and length properties
internally, instead of at the call site. Additionally, allow passing a
realm, prototype, and prefix.
2022-02-20 23:21:40 +00:00

2.7 KiB