Files

9 lines
119 B
JavaScript

function f(_ref) {
let [] = _ref;
return async function* () {}();
}
;
expect(() => {
f();
}).toThrow(TypeError);