Run details:
Mozilla/5.0 (Linux; Android 7.0; SM-G935V Build/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/66.0.3359.158 Mobile Safari/537.36
Safari537.36
Android 7.0
Mobile
6 years ago
Test name Executions per second
Using spread operator 711624.8 Ops/sec
Using push function 4927571.5 Ops/sec
Add to last index of array 4742611.0 Ops/sec
Tests:
  • Using spread operator

  • Using push function

  • Add to last index of array


;