Builtin objects symbol properties should be lazy listed (#4271)

JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik frobert@inf.u-szeged.hu
This commit is contained in:
Robert Fancsik
2020-10-06 14:52:25 +02:00
committed by GitHub
parent 17c8ec57bb
commit 53a085cd28
7 changed files with 63 additions and 22 deletions
+2
View File
@@ -157,3 +157,5 @@ map.forEach(function (value, key) {
assert(k === Infinity);
assert(map.get(+0) === "foo");
[Symbol.iterator, Symbol.toStringTag].forEach(e => assert (Reflect.ownKeys(Map.prototype).includes(e)));