Export assignment expression must not track variables (#4660)

Only export the result of the assignment expression. This value cannot be changed later.

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg zherczeg.u-szeged@partner.samsung.com
This commit is contained in:
Zoltan Herczeg
2021-04-21 08:56:50 +02:00
committed by GitHub
parent dead11cdd0
commit b4bea25f13
7 changed files with 38 additions and 13 deletions
+3 -2
View File
@@ -26,5 +26,6 @@ assert(o.b === undefined);
assert(o.c(val) === "c")
assert(o.d === "d")
assert(o.default === val)
assert(def === val)
assert(o.a === val);
assert(o.default === 8.5)
assert(def === 8.5)