paint-brush
Une plongée profonde dans la méthode JavaScript Some()par@iggy
1,863 lectures
1,863 lectures

Une plongée profonde dans la méthode JavaScript Some()

par Ignatius Sani5m2023/07/05
Read on Terminal Reader

Trop long; Pour lire

La méthode some() détermine si au moins un membre du tableau satisfait le test défini par la fonction donnée. Elle renvoie true si elle trouve un élément dans le tableau pour lequel la fonction spécifiée renvoie true ; sinon, il renvoie faux. Comme il s'agit d'une méthode, elle accepte des arguments, ce qui vous donne une plus grande flexibilité sur ce que vous pouvez faire avec un tableau.
featured image - Une plongée profonde dans la méthode JavaScript Some()
Ignatius Sani HackerNoon profile picture
Ignatius Sani

Ignatius Sani

@iggy

Software Engineer.

Sur @iggy
LEARN MORE ABOUT @IGGY'S
EXPERTISE AND PLACE ON THE INTERNET.
0-item
1-item

STORY’S CREDIBILITY

Code License

Code License

The code in this story is for educational purposes. The readers are solely responsible for whatever they build with it.

Guide

Guide

Walkthroughs, tutorials, guides, and tips. This story will teach you how to do something new or how to do something better.

L O A D I N G
. . . comments & more!

About Author

Ignatius Sani HackerNoon profile picture
Ignatius Sani@iggy
Software Engineer.

ÉTIQUETTES

Languages

CET ARTICLE A ÉTÉ PARU DANS...

Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite