blob: e67a07d51e827b1caf31172da7a4762d62293f11 (
plain)
1
2
3
4
5
6
7
8
9
|
// |reftest| skip-if(!this.hasOwnProperty("Record"))
const realm = newGlobal();
const realm_record = realm.eval(`Record({ x: 1, y: 2 })`);
assertEq(realm_record === #{ x: 1, y: 2 }, true);
if (typeof reportCompare === "function") reportCompare(0, 0);
|