Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.2 Safari/605.1.15
Safari 17
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
Lodash 1003005.9 Ops/sec
Native 11191464.0 Ops/sec
HTML Preparation code:
AخA
 
1
<script src='https://cdn.jsdelivr.net/lodash/4.17.4/lodash.fp.min.js'></script>
Script Preparation code:
 
var arr = [false, false, false, false, false, true]
Tests:
  • Lodash

     
    _.some(arr, Boolean)
  • Native

     
    arr.some(Boolean)