var obj = {
foo: 1,
bar: 2,
}
let fullObj = obj;
if (obj.foo) {
let foo = obj.foo;
delete obj.foo;
const {foo, ...rest} = obj;
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