Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 OPR/55.0.2994.61
Opera 55
Mac OS X 10.13.6
Desktop
6 years ago
Test name Executions per second
.unshift() 17385.8 Ops/sec
.push() 8918100.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()


;