Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.1 Safari/605.1.15
Safari 13
Mac OS X 10.15.5
Desktop
4 years ago
Test name Executions per second
const num 312985824.0 Ops/sec
const string 340697408.0 Ops/sec
var num 371009344.0 Ops/sec
var string 297030784.0 Ops/sec
let num 352072192.0 Ops/sec
let string 310060608.0 Ops/sec
Tests:
  • const num

  • const string

  • var num

  • var string

  • let num

  • let string