Fix function name evaluation order (#4830)

JerryScript-DCO-1.0-Signed-off-by: Daniel Batiz [email protected]
This commit is contained in:
batizdaniel authored and GitHub committed 2021-11-23 11:58:12 +01:00
1 parent 4592143400
commit 6b9e24aa51
5 files changed
+14 -8

No files matched your search

+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)