Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Linux
Desktop
10 months ago
Test name Executions per second
Using the spread operator 5197400.5 Ops/sec
Using Object.assign 6118790.0 Ops/sec
Using For-In loop 17529436.0 Ops/sec
Using For-In loop with hasOwnProperty 5130184.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign

  • Using For-In loop

  • Using For-In loop with hasOwnProperty


;