mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
Merge pull request #1110 from xiemaisi/js/yield-in-non-generator
Approved by asger-semmle
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
function outer() {
|
||||
function inner() {
|
||||
yield 1;
|
||||
}
|
||||
inner().next()
|
||||
}
|
||||
|
||||
// semmle-extractor-options: --experimental
|
||||
Reference in New Issue
Block a user