Reorder list of function built-in properties (#4791)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
Zoltan Herczeg authored and GitHub committed 2021-10-07 09:52:07 +02:00
1 parent d98ff6fd30
commit 7c21fb89b2
2 files changed
+9 -18

No files matched your search

+1 -1
View File
@@ -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")