ES6 Optional Chaining vs TS Optional Chaining result in javascript vs vs. Lodash _.get
Compare the new ES6 spread operator with the traditional concat() method and push
Is "string".trim().length === 0 faster or slower than RegExp /^\s*$/.test("string")
Creating a "new" object reference every time
Create Your benchmarks
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