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

  • .push()