var string = '1'.repeat(1000);
const array = Array.from(string, x => x * 2);
const array = [...string].map(x => x * 2);
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide