1 2 3 4 5 6
// Each Map has its own size. var m1 = new Map(), m2 = new Map(); m1.set("x", 3); assertEq(m1.size, 1); assertEq(m2.size, 0);