Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0
Firefox 62
Windows 8.1
Desktop
6 years ago
Test name Executions per second
.unshift() 367722.4 Ops/sec
.push() 9880566.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()