Check If Some Items Pass a Condition - JavaScript Array Some (In 2 Mins)

  Рет қаралды 720

dcode

dcode

Күн бұрын

The array "some" method in JavaScript lets you test whether or not at least 1 element in your array passes a specified condition. Perfect for knowing when to display something like an error message if "some" operations have failed on your web app 😎
For your reference, check this out:
developer.mozilla.org/en-US/d...
🏫 My Udemy Courses - www.udemy.com/user/domenic-co...
🎨 Download my VS Code theme - marketplace.visualstudio.com/...
💜 Join my Discord Server - / discord
🐦 Find me on Twitter - / dcodeyt
💸 Support me on Patreon - / dcode
📰 Follow me on DEV Community - dev.to/dcodeyt
📹 Join this channel to get access to perks - / @dcode-software
If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#dcode #javascript

Пікірлер: 9
@paulclarke4099
@paulclarke4099 21 күн бұрын
Love all these short succinct videos you are doing 💯😃👍
@dcode-software
@dcode-software 21 күн бұрын
They're enjoyable to make too! I'm uploading a bunch of them now but will start breaking it up soon
@eerrfanshayyestehh2069
@eerrfanshayyestehh2069 22 күн бұрын
Nice
@dcode-software
@dcode-software 22 күн бұрын
😎
@sanketgawande3667
@sanketgawande3667 22 күн бұрын
Where's iconic DCode theme man?
@dcode-software
@dcode-software 22 күн бұрын
Man I'm blessed to have it be called "iconic" 🙏 for these 2 minute videos I'm going for a different theme. dcode theme is still around for my standard videos
@suelingsusu1339
@suelingsusu1339 22 күн бұрын
👌👌👌🙏🙏🙏🖖🖖🖖🖖🌹🌹🌹
@dcode-software
@dcode-software 22 күн бұрын
🙏🙏
@christian-schubert
@christian-schubert 21 күн бұрын
Anyone else think that array.any( ) would've made a lot more sense? 😅 Ok, just now realized that this comment might be a bit misleading. Obviously, there is no array.any() method in Javascript. WHAT I MEANT was: it would've made much more sense if the ECMAScript specified Array.Any() instead of Array.Some() for the intended purposes highlighted in Dom's video. Sorry for the confusion!
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
00:56
صدام العزي
Рет қаралды 59 МЛН
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 15 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 4,9 МЛН
8 Must Know JavaScript Array Methods
10:05
Web Dev Simplified
Рет қаралды 1 МЛН
Why I *Almost* NEVER Use LET in JavaScript
6:41
dcode
Рет қаралды 549
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 143 М.
STOP Watching Coding Tutorials Right Now! My LEARNING FRAMEWORK
12:19
Harkirat Singh
Рет қаралды 242 М.
Learn JavaScript ARRAYS in 8 minutes! 🗃
8:06
Bro Code
Рет қаралды 26 М.
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 825 М.
How To Debug React Apps Like A Senior Developer
21:07
Web Dev Simplified
Рет қаралды 68 М.
Software engineer interns on their first day be like...
2:21
Frying Pan
Рет қаралды 13 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН