Properly handle primitive arguments in Object methods (#3342)
ES2015 allows primitive arguments for most of the Object built-ins. This change implements handling for these arguments in affected methods. JerryScript-DCO-1.0-Signed-off-by: Dániel Bátyai dbatyai@inf.u-szeged.hu
This commit is contained in:
committed by
Robert Fancsik
parent
d006f068f4
commit
3bf2bc50bc
@@ -15,7 +15,7 @@
|
||||
#ifndef ECMA_BUILTIN_OBJECT_H
|
||||
#define ECMA_BUILTIN_OBJECT_H
|
||||
|
||||
ecma_value_t ecma_builtin_object_object_get_prototype_of (ecma_value_t arg);
|
||||
ecma_value_t ecma_builtin_object_object_get_prototype_of (ecma_object_t *obj_p);
|
||||
|
||||
ecma_value_t ecma_builtin_object_object_set_prototype_of (ecma_value_t arg1,
|
||||
ecma_value_t arg2);
|
||||
|
||||
Reference in New Issue
Block a user