Merge pull request #1110 from xiemaisi/js/yield-in-non-generator

Approved by asger-semmle
This commit is contained in:
semmle-qlci
2019-03-14 11:59:43 +00:00
committed by GitHub
3 changed files with 15 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
function outer() {
function inner() {
yield 1;
}
inner().next()
}
// semmle-extractor-options: --experimental