yield-in-generator-param.out 189 Bytes
Newer Older
1 2 3 4
*%(basename)s:5: SyntaxError: Yield expression not allowed in formal parameter
function* g(a = yield) {}
                ^^^^^
SyntaxError: Yield expression not allowed in formal parameter