Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Linux
Desktop
4 years ago
Test name Executions per second
.unshift() 526922.0 Ops/sec
.push() 9142686.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()