Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-G950F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/8.2 Chrome/63.0.3239.111 Mobile Safari/537.36
Chrome Mobile 63
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
Using the spread operator 677117.8 Ops/sec
Using Object.assign 363409.8 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;