<div id="foo" class="test"></div>
var element = document.getElementById("foo");
element.className.indexOf("test")
element.className.startsWith("test");
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