Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) coc_coc_browser/90.0.148 Chrome/84.0.4147.148 Safari/537.36
Chrome 84
Windows
Desktop
4 years ago
Test name Executions per second
.unshift() 25035.0 Ops/sec
.push() 11868601.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()