Run details:
Mozilla/5.0 (Linux; Android 7.1.1; MI 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36
Chrome Mobile 70
Android 7.1.1
Mobile
6 years ago
Test name Executions per second
Array spread 3143909.0 Ops/sec
Array slice 3986587.8 Ops/sec
Script Preparation code:
Tests:
  • Array spread

  • Array slice