JavaScript Arrays - Search for a specific array element - Exercise

preview_player
Показать описание
In this exercise we write are searching for a specific element of an array and write out if the array contains the element or if it does not.

Рекомендации по теме
Комментарии
Автор

I am happy to be subscribed to your educational channel and happy to understand the way you explain! ...you are excellent... go on !

kristinaivanova
Автор

you could simply just "break" the for loop when it's found. also it was painful to see if(bool==true) xD but good stuff

deoxi