Files
codeql/javascript/extractor/tests/esnext/input/yield-import.js
Max Schaefer 03a2204c30 JavaScript: Improve support for dynamic imports.
`yield import(...)` previously caused a syntax error, now it is parsed
correctly.

`parseYield` is the only place where the value of `startsExpr` matters,
so this change should not affect anything else.
2019-03-13 14:40:12 +00:00

4 lines
40 B
JavaScript

function* f() {
yield import("foo")
}