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

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2021-10-07 09:52:07 +02:00
committed by GitHub
parent d98ff6fd30
commit 7c21fb89b2
2 changed files with 9 additions and 18 deletions
+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")