Important Array and Object Iteration Methods
To locate elements in an array, we can use 2 different JavaScript methods:
Array.prototype.indexOf()
It is called on an array and takes 2 arguments.
The value you are looking for and an optional start position
compares each element using a strict...
romilse.hashnode.dev4 min read