Source code
Revision control
Copy as Markdown
Other Tools
// 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);
// 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);