find Array Method | JavaScript Tutorial

preview_player
Показать описание

In this tutorial we're going to learn about the #find #JavaScript #Array Method and how it can be used to find and return the first element from a given array which meets the criteria. If it cannot find an element it will return undefined.

---
Follow me on:
Рекомендации по теме
Комментарии
Автор

This is great. I have been looking for how to loop through a database in order to validate users already in it. This method finally worked. Big kudos...

CodeWithLu
Автор

Great video! Definitely got some attention with those upload spams.

rdius
Автор

thanks Bro. I learn find array Method in a short time. I appreciate you!!

zawadbinsharif
Автор

Better then my udemy course🤩. Your content is epic. 100% like ratio

RiseWithShivam
Автор

hello! I have a question. Could you tell me, why mine doesn't work?
const
const
z.trim();
function findWord(item){
return item.word === z;
}
function displayDef(){

}

MinarathTep
Автор

How can I do this but instead of hardcoding what you're searching for search by user input?

jessicadesouza
Автор

how to find if like this?

array [
value : ["Hello", "Darkness"],
ids : id
]


how to find that array in a array object?

manuelsaturday
Автор

I like your videos, they are very informative, but my opinion is that you should put all the array methods in one video and not spam our subscription page. But don't let me tell you how to run your channel.

GeorgeOprea
Автор

plural of person is people, not persons :)

tiaan_va
Автор

Sir, what will happen if we put the function return in the "find()"?
Like that :
const age = persons.find(person.name === 'Florin').age ;

osamafix
Автор

2:03 Pfff... Ageist!

Not a single person over 70, or even 50, or 30. 🙄

Chiramisudo