What is Some and Every method in JavaScript | Array Methods | JavaScript

Publié le: 15 décembre 2021
sur la chaîne: procademy
914
31

In this lecture, you will learn about two new array methods in JavaScript which is some() and every() method. Thease methods returns a boolean value based on a given condition.

The some() method returns boolean value true if any one of the element of an array satisfies a given condition. If non of the element satisfies the given condition, it returns false.

The every() method returns a boolean value true if all the elements of an array satisfies a given condition. If any one element does not satisfy the condition, it will immediately return false.

Let's learn about some() and every method in detail in this lecture.

SOURCE CODE OF THIS SECTION CAN BE DOWNLOADED FROM HERE: https://drive.google.com/file/d/1qCLN...

SLIDES OF THIS SECTION CAN BE DOWNLOADED FROM HERE:
https://drive.google.com/file/d/19UCM...


Sur cette page du site, vous pouvez voir la vidéo en ligne What is Some and Every method in JavaScript | Array Methods | JavaScript durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur procademy 15 décembre 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 914 fois et il a aimé 31 téléspectateurs. Bon visionnage!