Run details:
Mozilla/5.0 (X11; CrOS x86_64 13816.55.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.86 Safari/537.36
Chrome 90
Chrome OS 13816.55.0
Desktop
3 years ago
Test name Executions per second
.unshift() 22517.3 Ops/sec
.push() 8291520.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()