I would like to write array.some(Boolean) as a way to check if any elements from array plausible.
Are there any problems using the Boolean object this way? Does it have the same behavior in modern browsers? Is this always equivalent to array.some(function(elem) { return !!elem; }) ?
javascript callback ecmascript-6 boolean
Maros hluska
source share