yield-in-arrow-param.out 204 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