Run details:
Mozilla/5.0 (Linux; Android 9; SM-G950W) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36
Chrome Mobile 77
Android
Mobile
5 years ago
Test name Executions per second
immutable with concat 1842816.2 Ops/sec
direct mutation with splice + spread 1736154.4 Ops/sec
Tests:
  • immutable with concat

  • direct mutation with splice + spread