mirror of
https://github.com/github/codeql.git
synced 2026-05-04 13:15:21 +02:00
JavaScript: Teach Function.isGenerator to check for yield.
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