Skip to content

Commit 8ebfe15

Browse files
apply doc feedback from mchammer01
Co-Authored-By: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 2d01e7c commit 8ebfe15

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

javascript/ql/src/Statements/IgnoreArrayResult.qhelp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ or <code>slice</code>.
2222
<example>
2323

2424
<p>
25-
In the following example a function <code>extend</code> is defined. The
25+
A function <code>extend</code> is defined in the following example. The
2626
function uses the <code>concat</code> method to add elements to the
2727
<code>arr</code> array. However, the <code>extend</code> function has no
28-
effect as the return value from <code>concat</code> is ignored.
28+
effect as the return value from <code>concat</code> is ignored:
2929
</p>
3030

3131
<sample src="examples/IgnoreArrayResult.js" />
3232

3333
<p>
3434
Assigning the returned value from the call to <code>concat</code> to the
35-
<code>arr</code> variable fixes the error.
35+
<code>arr</code> variable fixes the error:
3636
</p>
3737

3838
<sample src="examples/IgnoreArrayResultFixed.js" />

0 commit comments

Comments
 (0)