How to use array in Protractor - Array Part 2 | JavaScript | Protractor tutorial | LetCode

preview_player
Показать описание
#protractor #letcode #javascript

Functions discussed as follows,

find() returns the value of the first element
includes() similar to find but return boolean
indexOf() similar to includes but returns index

sort() sorts the elements
reverse() reverses an array

map() creates a new array from the src
filter() creates a new array from the src if the given condition is true
reduce() executes a reducer function

Reference:

Source code:

Thanks for watching, you can connect with me in LinkedIn:

Join our Telegram channel.

Music credit:
Horizon by LiQWYD @liqwyd
javascript (programming language) - protractor tutorial - javascript tutorial
Channel search
letcode "letcode koushik" LetCode "letcode automation" "letcode javascript" "letcode chrome extension" "letcode protractor" "letcode testing" "letcode selenium" selenium protractor javascript "chrome extension" java "letcode java" "letcode youtube" typescript "letcode typescript" LETCODE
Рекомендации по теме
Комментарии
Автор

Cool GIFs makes the video more fun to learn... Thanks for it :)

SenthilKumar-kcpj
Автор

In Previous Array video you have used const number = [2, 3, 4, 5] and were able to modify the array. You have mentioned you will be explaining in next array video( this video) how we were able to modify the const variable but its not mentioned in this video, can you please explain?

shwetagoyal