Fix object initializers for get and set properties. (#3164)

JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg [email protected]
This commit is contained in:
Zoltan Herczeg authored and Dániel Bátyai committed 2019-09-27 10:28:53 +02:00
1 parent 4eae760180
commit 0121b2bbcf
3 files changed
+51 -5

No files matched your search

+7
View File
@@ -62,4 +62,11 @@ default:
({ true: true });
({ 13: 13 });
({ "x": "x" });
var get = 8;
var set = 12;
var o = ({ get, set });
assert(o.get == 8);
assert(o.set == 12);
}