© 2026 LinearBytes Inc.
Search posts, tags, users, and pages
Sujeet Agrahari
Building efficient backend systems, one move at a time!
As Array.some() will check if student failed in at least one subject, there is Array.every() which will check if he failed in all the subjects. BTW, Nice article.😁
Array.some()
Array.every()
Yuvaraj
Software Developer
Thank you. Yes, I'll cover Array.every in a separate article.
If we use Array.every in this scenario, then it will continue checking the remaining subjects as well. (i.e Social).