1 2 3 4 5 6
function test(str) { for (let i = 0; i < 100; ++i) Reflect.apply(String.prototype.substring, str, []) } enableGeckoProfilingWithSlowAssertions(); test("");