mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-01 06:07:59 +00:00
LibJS: Pass prototype to Function constructors
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
namespace JS {
|
||||
|
||||
ObjectConstructor::ObjectConstructor()
|
||||
: NativeFunction("Object")
|
||||
: NativeFunction("Object", *interpreter().function_prototype())
|
||||
{
|
||||
put("prototype", interpreter().object_prototype());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user