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 4761.0 Ops/sec
add2 4689.1 Ops/sec
shift 16275.8 Ops/sec
slice 97861.0 Ops/sec
slice in object 2563.0 Ops/sec
Script Preparation code:
Tests:
  • add

  • add2

  • shift

  • slice (fastest)

  • slice in object


;