Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Using the spread operator 10337501.0 Ops/sec
Using Object.assign 17800192.0 Ops/sec
Using For-In loop 42836428.0 Ops/sec
Using For-In loop with hasOwnProperty 14616732.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign

  • Using For-In loop

  • Using For-In loop with hasOwnProperty


;