* Disallow escape sequences in async * Disallow escape sequences in get, set and async in class * invalid escape tests * Update whitelist * tests for async in parens * Add test for invalid newline between params and arrow * Move canInsertSemilcolon() into shouldPArseAsyncArrow
11 lines
83 B
JavaScript
11 lines
83 B
JavaScript
var fn = async (
|
|
arg
|
|
) => {}
|
|
|
|
async (x) =>
|
|
{}
|
|
|
|
async x => {}
|
|
|
|
async (x
|
|
) => {}; |