indexOf:To check if an item exist in an array. If it exists it returns the index else it returns -1.
Fri Sep 16 2022 13:05:41 GMT+0000 (Coordinated Universal Time)
Saved by @sreejithbs
https://github.com/Asabeneh/30-Days-Of-JavaScript/blob/master/05_Day_Arrays/05_day_arrays.md
Comments