Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A5000) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.210 Mobile Safari/537.36
Chrome Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Object.assign 1497338.6 Ops/sec
spread operator 4356868.5 Ops/sec
object assign 189534624.0 Ops/sec
Tests:
  • Object.assign

  • spread operator

  • object assign