Array Some - In 2 Minutes - JavaScript
HTML-код
- Опубликовано: 13 июл 2024
- 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
Love all these short succinct videos you are doing 💯😃👍
They're enjoyable to make too! I'm uploading a bunch of them now but will start breaking it up soon
Nice
😎
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!
Where's iconic DCode theme man?
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
👌👌👌🙏🙏🙏🖖🖖🖖🖖🌹🌹🌹
🙏🙏