Set global object's prototype
The global object should have the same prototype as a simple object. JerryScript-DCO-1.0-Signed-off-by: Peter Gal [email protected]
This commit is contained in:
1 parent
e154156cf4
commit
4e5e7bb4c8
3 files changed
+20
-2
No files matched your search
@@ -301,7 +301,7 @@ BUILTIN (ECMA_BUILTIN_ID_COMPACT_PROFILE_ERROR,
|
||||
/* The Global object (15.1) */
|
||||
BUILTIN (ECMA_BUILTIN_ID_GLOBAL,
|
||||
ECMA_OBJECT_TYPE_GENERAL,
|
||||
ECMA_BUILTIN_ID__COUNT /* no prototype */,
|
||||
ECMA_BUILTIN_ID_OBJECT_PROTOTYPE, /* Implementation-dependent */
|
||||
true,
|
||||
true,
|
||||
global)
|
||||
|
||||
Reference in new issue
Block a user