Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Other
8 years ago
Test name Executions per second
add 4128.6 Ops/sec
add2 4191.7 Ops/sec
shift 15886.9 Ops/sec
slice 73665.1 Ops/sec
slice in object 1550.4 Ops/sec
Script Preparation code:
Tests:
  • add

  • add2

  • shift

  • slice (fastest)

  • slice in object


;