Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Windows
Desktop
one year ago
Test name Executions per second
toLocaleString 57233.3 Ops/sec
Intl.NumberFormat 57126.0 Ops/sec
string split & reduce 3949282.0 Ops/sec
toFixed 18609122.0 Ops/sec
Script Preparation code:
Tests:
  • toLocaleString

  • Intl.NumberFormat

  • string split & reduce

  • toFixed


;