1 2 3 4 5 6 7
// The argument to Map may be a generator-iterator that produces no values. function none() { if (0) yield 0; } var m = new Map(none()); assertEq(m.size, 0);