mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
JS: fix links in qhelp file
This commit is contained in:
@@ -27,14 +27,14 @@ If the check is needed to guard against <code>NaN</code> values, insert a commen
|
||||
The following example finds the index of an element in a given slice of the array:
|
||||
</p>
|
||||
|
||||
<sample src="examples/UselessConditional.js" />
|
||||
<sample src="examples/UselessRangeCheck.js" />
|
||||
|
||||
<p>
|
||||
The condition <code>i < end</code> at the end is always false, however. The code can be clarified if the
|
||||
redundant condition is removed:
|
||||
</p>
|
||||
|
||||
<sample src="examples/UselessConditionalGood.js" />
|
||||
<sample src="examples/UselessRangeCheckGood.js" />
|
||||
|
||||
</example>
|
||||
<references>
|
||||
|
||||
Reference in New Issue
Block a user