javascript array some length 0 code example
Example: js find array return true false
['one', 'two'].some(item => item === 'one') // true
['one', 'two'].some(item => item === 'three') // false
['one', 'two'].some(item => item === 'one') // true
['one', 'two'].some(item => item === 'three') // false