Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36 OPR/73.0.3856.329
Opera 73
Mac OS X 11.0.0
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat 6046811.5 Ops/sec
spread operator 26799654.0 Ops/sec
Push 21569876.0 Ops/sec
Object assign 860447.0 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Push

  • Object assign


;