I recently discovered a new feature 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?
[,,].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?