# Why Promise.any?

**URL:** <https://es.discourse.group/t/why-promise-any/826>\
**Category:** I have questions\
**Created:** [June 24, 2021, 1:59pm UTC](https://es.discourse.group/t/why-promise-any/826 "2021-06-24T13:59:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FrameMuse](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/framemuse/32/885_2.png) [@FrameMuse](https://es.discourse.group/u/FrameMuse)\
**Post date:** [June 24, 2021, 1:59pm UTC](https://es.discourse.group/t/why-promise-any/826/1 "2021-06-24T13:59:48Z")

</div>

I recently discovered a new feature Promise.any.

```javascript
Promise.any([,,])

```

I have a simple question: why isn't it Promise.some?  
There is already such a function for arrays, why do we have a different naming here?

```javascript
[,,].some(i => i === 1)

```

I would not ask if it has a different usage or meaning, but it doesn't. It's the same!

It also relies on English grammar: In positive sentence is only used **some** , **any** comes in a negative or question sentence.

Why should we use 'any' for Promises, while 'some' for arrays?

---

<div class="post-metadata">

**Author:** ![ljharb](https://yyz2.discourse-cdn.com/free1/user_avatar/es.discourse.group/ljharb/32/8_2.png) [@ljharb](https://es.discourse.group/u/ljharb)\
**Post date:** [June 24, 2021, 2:45pm UTC](https://es.discourse.group/t/why-promise-any/826/2 "2021-06-24T14:45:29Z")

</div>

some returns a boolean, any returns a promise, so either way they’d have to be different names.

[https://github.com/tc39/proposal-promise-any/issues/10](https://github.com/tc39/proposal-promise-any/issues/10) should be helpful.
