Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.83 Safari/537.36
Chrome 85
Windows 7
Desktop
4 years ago
Test name Executions per second
Array.prototype.concat 866193.2 Ops/sec
spread operator 302655.8 Ops/sec
stringify 31822.4 Ops/sec
concat apply 692121.4 Ops/sec
loop 10119.8 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • stringify

  • concat apply

  • loop