Test name | Executions per second |
---|---|
lodash.each | 2934617.5 Ops/sec |
native | 9431450.0 Ops/sec |
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
var value = [{a: 30310}, {b: 100303}, {c: 3040494}]
_.each(value, function(v,i) {})
value.forEach(function(v,i) {})