Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using Number.prototype.toLocaleString() for numeric console form…
…at specifiers https://bugs.webkit.org/show_bug.cgi?id=259146 Reviewed by Patrick Angle. `console.log("%i", 1000)` should have the same output as `console.log("1000")`. * Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.js: (WI.ConsoleMessageView.prototype._formatWithSubstitutionString.floatFormatter): (WI.ConsoleMessageView.prototype._formatWithSubstitutionString.integerFormatter): Remove calling `Number.prototype.toLocaleString` as that can insert unwanted text (e.g. commas). Canonical link: https://commits.webkit.org/266020@main
- Loading branch information