Debian Codegraph @

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

raw
1 // The argument to WeakMap may be a generator-iterator that produces no values.
2
3 function* none() {
4 if (0) yield 0;
5 }
6 new WeakMap(none());