Skip to content

Commit 5ce356f

Browse files
two small doc fixes from docteam
Co-Authored-By: shati-patel <42641846+shati-patel@users.noreply.github.com>
1 parent c6918ef commit 5ce356f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/src/Statements/UseOfReturnlessFunction.qhelp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ clearly an error.
3131
<sample src="examples/UseOfReturnlessFunction.js" />
3232

3333
<p>
34-
The program can be fixed either removing the use of the value returned by
35-
<code>renderText</code>, or by changing the <code>renderText</code> method
34+
The program can be fixed either by removing the use of the value returned by
35+
<code>renderText</code>, or by changing the <code>renderText</code> function
3636
to return an expression.
3737
</p>
3838

0 commit comments

Comments
 (0)