1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:28:12 +00:00

Tests/LibWeb: Prove we do not fail serialization of empty arrays

This commit is contained in:
Kenneth Myhra 2024-03-02 21:27:58 +01:00 committed by Andrew Kaster
parent 77b1469900
commit d269ac611e
2 changed files with 2 additions and 0 deletions

View file

@ -14,6 +14,7 @@
println(structuredClone(new URIError("hello")));
println(structuredClone(JSON.stringify({"a": "b", 1: 2})));
println(structuredClone([1, 4, "aaaa"]));
println(structuredClone([]));
println(structuredClone(new Set(["a", "b", "c"])).has("b"));
println(structuredClone(new Map([["a", 0], ["b", 1], ["c", 2]])).get("b"));