var newArr = ['1', '2', '3', '4'];
!!newArr.length
newArr.length !== 0
Boolean(newArr.length)
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