Skip to content

Commit 6ae06ae

Browse files
asgerfCopilot
andauthored
Update javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java
Co-authored-by: Copilot <[email protected]>
1 parent 6207e39 commit 6ae06ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,7 @@ public Void visit(Literal nd, SuccessorInfo i) {
12471247
public Void visit(BlockStatement nd, SuccessorInfo i) {
12481248
// Hoist function declarations in a block statement to the top of the block.
12491249
// This reflects non-standard behaviour implemented by most engines.
1250-
// See also: EcmaScript "B.3.2 Block-Level Function Declarations Web Legacy Compatibility Semantics".
1250+
// See also: ECMAScript "B.3.2 Block-Level Function Declarations Web Legacy Compatibility Semantics".
12511251
List<Identifier> hoisted = HoistedFunDecls.of(nd.getBody());
12521252
hoistedFns.addAll(hoisted);
12531253
writeSuccessors(nd, visitSequence(hoisted, nd.getBody(), i.getAllSuccessors()));

0 commit comments

Comments
 (0)