Fix function name evaluation order (#4830)

JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz daniel.batiz@h-lab.eu
This commit is contained in:
batizdaniel
2021-11-23 11:58:12 +01:00
committed by GitHub
parent 4592143400
commit 6b9e24aa51
5 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -78,6 +78,6 @@ let C3 = class C4 {
static yy = this
}
assert(Reflect.ownKeys(C3).toString() === "length,prototype,f,name,xx,yy")
assert(Reflect.ownKeys(C3).toString() === "length,name,prototype,f,xx,yy")
check_property(C3, "xx", C3)
check_property(C3, "yy", C3)