diff --git a/javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java b/javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java index 8f58f3a4185..72dac30c933 100644 --- a/javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java +++ b/javascript/extractor/src/com/semmle/js/extractor/CFGExtractor.java @@ -1247,7 +1247,7 @@ public class CFGExtractor { public Void visit(BlockStatement nd, SuccessorInfo i) { // Hoist function declarations in a block statement to the top of the block. // This reflects non-standard behaviour implemented by most engines. - // 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". List hoisted = HoistedFunDecls.of(nd.getBody()); hoistedFns.addAll(hoisted); writeSuccessors(nd, visitSequence(hoisted, nd.getBody(), i.getAllSuccessors()));