Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/116.0
Firefox 116
Linux
Desktop
one year ago
Test name Executions per second
Using the spread operator 6781524.5 Ops/sec
Using Object.assign 9744455.0 Ops/sec
Using For-In loop 18140076.0 Ops/sec
Using For-In loop with hasOwnProperty 12140581.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign

  • Using For-In loop

  • Using For-In loop with hasOwnProperty


;