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:
@@ -27,8 +27,12 @@
|
||||
|
||||
#if ENABLED (JERRY_ES2015)
|
||||
#ifndef SYMBOL_VALUE
|
||||
#define SYMBOL_VALUE(name, desc_string_id)
|
||||
#define SYMBOL_VALUE(symbol, desc_magic_string_id)
|
||||
#endif /* !SYMBOL_VALUE */
|
||||
|
||||
#ifndef INTRINSIC_PROPERTY
|
||||
#define INTRINSIC_PROPERTY(name, magic_string_id)
|
||||
#endif /* !INTRINSIC_PROPERTY */
|
||||
#endif /* ENABLED (JERRY_ES2015) */
|
||||
|
||||
#ifndef OBJECT_VALUE
|
||||
|
||||
Reference in New Issue
Block a user