Introduce builtin intrinsic object to share property values between builtin objects (#3490)
Fixed: - Global symbol access - Array.prototype.values and Array.prototype[Symbol.iterator] must be the same function object To test the new functionality arguments object Symbol.iterator property is added. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
@@ -33,6 +33,7 @@ typedef enum
|
||||
ECMA_BUILTIN_PROPERTY_STRING, /**< string value property */
|
||||
#if ENABLED (JERRY_ES2015)
|
||||
ECMA_BUILTIN_PROPERTY_SYMBOL, /**< symbol value property */
|
||||
ECMA_BUILTIN_PROPERTY_INTRINSIC_PROPERTY, /**< intrinsic routine property */
|
||||
#endif /* ENABLED (JERRY_ES2015) */
|
||||
ECMA_BUILTIN_PROPERTY_OBJECT, /**< builtin object property */
|
||||
ECMA_BUILTIN_PROPERTY_ROUTINE, /**< routine property */
|
||||
|
||||
Reference in New Issue
Block a user