Run details:
Mozilla/5.0 (X11; CrOS x86_64 13020.87.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.119 Safari/537.36
Chrome 83
Chrome OS 13020.87.0
Desktop
4 years ago
Test name Executions per second
.push() 5721677.0 Ops/sec
.unshift() 76.5 Ops/sec
Script Preparation code:
Tests:
  • .push()

  • .unshift()