Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Ubuntu
Desktop
one year ago
Test name Executions per second
lodash 950433728.0 Ops/sec
typeof 846882496.0 Ops/sec
HTML Preparation code:
AخA
 
1
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
 
var x = 'this'
Tests:
  • lodash

     
    var y = _.isString(x)
  • typeof

     
    var y = (typeof(x) === 'string')