How to use JavaScript array find method

preview_player
Показать описание
This video explains various ways to use JavaScript array find method.

You can use find method to search an item in an array. It returns first item found on the search criteria.

JavaScript array find method takes a callback function which takes four optional parameters

element

index
array
thisArgs

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

Thanks for explaining the fourth parameter of the find method, "thisArgs", with an example

mountainscott
Автор

You are an amazing teacher. Thank you!

TheHipHopVlog