Run details:
Mozilla/5.0 (Linux; U; Android 9; ru-ru; MI 8 Build/PKQ1.180729.001) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/61.0.3163.128 Mobile Safari/537.36 XiaoMi/MiuiBrowser/10.8.3-g
Chrome Mobile 61
Android
Mobile
5 years ago
Test name Executions per second
Using the spread operator 1588190.5 Ops/sec
Using Object.assign 1162237.2 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign