How to better null-check
Let's compare the speed of 3 different ways to traverse the DOM.
tst
ScriptPreparationcode
Compare the new ES6 spread operator with the traditional concat() method and push
Port from jsperf(https://jsperf.com/sorting-algorithms/58)
New benchmark Your benchmarks
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js (v2.1.1)
Facebook page: https://www.facebook.com/MeasureThat.Net