Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Mac OS X 10.15.7
Desktop
one year ago
Test name Executions per second
parseInt num 10347516.0 Ops/sec
parseInt valid string 10358261.0 Ops/sec
parseInt invalid string 10321128.0 Ops/sec
parseInt undefined 2253555.8 Ops/sec
parseInt null 7725827.5 Ops/sec
Tests:
  • parseInt num

  • parseInt valid string

  • parseInt invalid string

  • parseInt undefined

  • parseInt null


;