mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Merge pull request #2362 from erik-krogh/promiseAll
Approved by max-schaefer
This commit is contained in:
@@ -88,6 +88,8 @@
|
||||
}
|
||||
|
||||
new Deferred().resolve(onlySideEffects()); // OK
|
||||
|
||||
Promise.all([onlySideEffects(), onlySideEffects()])
|
||||
})();
|
||||
|
||||
+function() {
|
||||
@@ -104,4 +106,4 @@ class Bar extends Foo {
|
||||
constructor() {
|
||||
console.log(super()); // OK.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user