var a = "/1231231"
var b = "121312321"
console.log(/^\//.test(a));
console.log(/^\//.test(b));
console.log(a.startsWith("/"))
console.log(b.startsWith("/"))
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