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 4738.7 Ops/sec
add2 4776.5 Ops/sec
shift 16506.0 Ops/sec
slice 120425.5 Ops/sec
slice in object 2696.6 Ops/sec
Script Preparation code:
Tests:
  • add

  • add2

  • shift

  • slice (fastest)

  • slice in object


;