Skip to content

Commit cbea1fe

Browse files
Update Search/LinearSearch.js
Co-authored-by: Lars Müller <[email protected]>
1 parent bcb6801 commit cbea1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Search/LinearSearch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* for the target value until a match is found or until all the elements
55
* have been searched.
66
*
7-
* [Reference](https://en.wikipedia.org/wiki/Linear_search)
7+
* @see https://en.wikipedia.org/wiki/Linear_search
88
*/
99
function SearchArray(searchNum, ar, output = (v) => console.log(v)) {
1010
const position = Search(ar, searchNum)

0 commit comments

Comments
 (0)