Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.125 Safari/537.36
Chrome 84
Mac OS X 10.15.6
Desktop
4 years ago
Test name Executions per second
const num 827809792.0 Ops/sec
const string 821185792.0 Ops/sec
var num 830203968.0 Ops/sec
var string 828862400.0 Ops/sec
let num 809622400.0 Ops/sec
let string 833258432.0 Ops/sec
Tests:
  • const num

  • const string

  • var num

  • var string

  • let num

  • let string