How do we search?
Given an array, the simplest way to search for a value is to look at every element in the array and check if it's the value we want.
if our array is not sorted, in this case the best way to search is to look at every element in the array. => That is called Linear Search
JavaScript has search!
There are many different search methods arrays in JavaScript:
There was an error while loading. Please reload this page.