We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6207e39 commit 6ae06aeCopy full SHA for 6ae06ae
javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java
@@ -1247,7 +1247,7 @@ public Void visit(Literal nd, SuccessorInfo i) {
1247
public Void visit(BlockStatement nd, SuccessorInfo i) {
1248
// Hoist function declarations in a block statement to the top of the block.
1249
// This reflects non-standard behaviour implemented by most engines.
1250
- // See also: EcmaScript "B.3.2 Block-Level Function Declarations Web Legacy Compatibility Semantics".
+ // See also: ECMAScript "B.3.2 Block-Level Function Declarations Web Legacy Compatibility Semantics".
1251
List<Identifier> hoisted = HoistedFunDecls.of(nd.getBody());
1252
hoistedFns.addAll(hoisted);
1253
writeSuccessors(nd, visitSequence(hoisted, nd.getBody(), i.getAllSuccessors()));
0 commit comments