Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Windows 7
Other
2025 years ago
Test name Executions per second
Spread operator 6.6 Ops/sec
Mutate accumulator 27890.8 Ops/sec
Object.assign 6.5 Ops/sec
Script Preparation code:
Tests:
  • Spread operator

  • Mutate accumulator

  • Object.assign


;