async-arrow-invalid-rest.out 200 Bytes
Newer Older
1 2 3 4
*%(basename)s:7: SyntaxError: Rest parameter may not have a default initializer
var f = async (...x = 10) => x;
                      ^^
SyntaxError: Rest parameter may not have a default initializer