Reorder list of function built-in properties (#4791)
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
1 parent
d98ff6fd30
commit
7c21fb89b2
2 files changed
+9
-18
No files matched your search
@@ -46,7 +46,7 @@ Object.setPrototypeOf(print, prototype_obj);
|
||||
assert(getProperties(print) == "dummy length caller arguments");
|
||||
|
||||
function f1() {}
|
||||
assert(Reflect.ownKeys(f1).toString() === "prototype,length,name,caller,arguments")
|
||||
assert(Reflect.ownKeys(f1).toString() === "length,name,arguments,caller,prototype")
|
||||
|
||||
async function f2() {}
|
||||
assert(Reflect.ownKeys(f2).toString() === "length,name")
|
||||
Reference in new issue
Block a user