File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
javascript/ql/src/Statements Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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
2626function 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 >
3434Assigning 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" />
You can’t perform that action at this time.
0 commit comments