Produce a deep copy of a Javascript object where nested objects are not simply references to the originals.
array index vs substring
Fast and quick test
https://developer.mozilla.org/en-US/docs/Web/API/structuredClone
Which one is faster
Compare the new ES6 spread operator with the traditional concat() method and push
Create Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net