Test name | Executions per second |
---|---|
Lodash | 1003005.9 Ops/sec |
Native | 11191464.0 Ops/sec |
<script src='https://cdn.jsdelivr.net/lodash/4.17.4/lodash.fp.min.js'></script>
var arr = [false, false, false, false, false, true]
_.some(arr, Boolean)
arr.some(Boolean)