Closed Shilpi3 closed 5 years ago
Following scripts should throw error
async function a(k = await 3) {}, async function a() { async function b(k = await 3) {} }, async function a() { async function b(k = [await 3]) {} }, async function a() { async function b([k = await 3]) {} }, async function a() { async function b([k = [await 3]]) {} }, async function a() { async function b({k = await 3}) {} }, async function a() { async function b({k = [await 3]}) {} },
They are all early errors
Following scripts should throw error