Debian Codegraph @

js/src/jit-test/tests/collections/Map-constructor-generator-3.js

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