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

  • .push()