var a = [];
var b = {}
for (var i = 0; i < 1000000; i++) {
a.push(i);
b[i] = `${i}`;
}
var set = new Set([...a]);
set.has(14500)
b[14500]
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