Using the JavaScript indexOf Array Method

Опубликовано: 08 Май 2018
на канале: Covalence
3,681
19

The 'indexOf' array method returns the index position of the array where the supplied value is found. If the item is not found, -1 is returned. Using this method instead of creating a loop and searching for an element yourself can save you time and make your code cleaner.


Смотрите видео Using the JavaScript indexOf Array Method онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Covalence 08 Май 2018, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 3,681 раз и оно понравилось 19 людям.