Skip to content

Commit 64e64c1

Browse files
committed
resolves PR change req mentioned in description
#1078 (comment)
1 parent 9a7f9aa commit 64e64c1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

javascript/ql/src/semmle/javascript/Functions.qll

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,13 @@ class Function extends @function, Parameterized, TypeParameterized, StmtContaine
158158
result = getAReturnStmt().getExpr()
159159
}
160160

161-
/**
162-
*
161+
/**
162+
* Gets a `ConcreteControlFlowNode` which corresponds to an executable portion of
163+
* the body which can be executed last during a function call, and which does not
164+
* result in the return of a value.
165+
*/
166+
167+
/*
163168
* Functions can sometimes return without returning a value, in which case they
164169
* "return" `undefined`. They can do this in two ways:
165170
*

0 commit comments

Comments
 (0)