---
title: "Discussion on \"some() method explained : JS\" | Hashnode"
description: "Discussion on \"some() method explained : JS\". The some() method tests whether at least one of the elements in the array passes the test implemented by the provided function. The result of the some() method is a boolean. \nLet's see the syntax:- \nconst new = array.some(( v, i, a) => {\n         // ..."
url: "https://hashnode.com/posts/some-method-explained-js/5fb90f831b7ab0041800d3cc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [some() method explained : JS](https://rahulism.hashnode.dev/some-method-explained-js?utm_source=hashnode&utm_medium=feed)

The some() method tests whether at least one of the elements in the array passes the test implemented by the provided function. The result of the some() method is a boolean. Let's see the syntax:- const new = array.some(( v, i, a) => { // ...

Nov 21, 2020 · 3 min read · rahulism.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming](https://hashnode.com/tag/programming)
-   [#100daysofcode](https://hashnode.com/tag/100daysofcode)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Rahul](https://hashnode.com/@RAHULISM)

@RAHULISM · India.

  
[View profile](https://hashnode.com/@RAHULISM)

hustling

19, Hustler.

## Responses 1

Markdown supported · ⌘↵ to post

[Ricardo Luz](https://hashnode.com/@rxluz)

[Nov 23, 2020](https://hashnode.com/posts/some-method-explained-js/5fb90f831b7ab0041800d3cc/comment/5fbb5c88faba48183e2809a3)

Thanks for sharing this 😀 usually the devs are so addicted in the filter or the map that generally they don't know about the existence of some and every; I like these two because they help to avoid the old for loop in various ways!

[Rahul](https://hashnode.com/@RAHULISM)

[Nov 23, 2020](https://hashnode.com/posts/some-method-explained-js/5fb90f831b7ab0041800d3cc/comment/5fbb5c88faba48183e2809a3#reply-5fbb5d7efaba48183e2809ba)

Thank you very much.
