Run details:
Mozilla/5.0 (Linux; Android 9; SM-A530W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.73 Mobile Safari/537.36
Chrome Mobile 77
Android
Mobile
5 years ago
Test name Executions per second
.unshift() 14607.6 Ops/sec
.push() 3806548.5 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()