mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00:00
LibJS: Pass prototype to Function constructors
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
namespace JS {
|
||||
|
||||
NumberConstructor::NumberConstructor()
|
||||
: NativeFunction("Number")
|
||||
: NativeFunction("Number", *interpreter().function_prototype())
|
||||
{
|
||||
put_native_function("isSafeInteger", is_safe_integer, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user