Firefox wins 4 of 5 operations
Geomean of speed relative to the fastest browser per op — 1.00× = always fastest (lower is better)
Compares building a string with += concatenation against Array.prototype.join for assembling many pieces.
String.prototype.startsWith performance
Compares String.prototype.indexOf against String.prototype.includes for substring searches.
Compares a classic indexed for loop against Array.prototype.forEach for summing an array.
Compares String.prototype.startsWith against an anchored regular expression for prefix matching.