We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff8d7ad commit aaa64a8Copy full SHA for aaa64a8
src/filters/index.js
@@ -105,7 +105,7 @@ export function html2Text(val) {
105
106
export function toThousandslsFilter(num) {
107
return (+num || 0).toString()
108
- .replace(/^\-?\d+/g, function(m){
109
- return m.replace(/(?=(?!\b)(\d{3})+$)/g, ',');
110
- });
+ .replace(/^\-?\d+/g, function (m) {
+ return m.replace(/(?=(?!\b)(\d{3})+$)/g, ',');
+ });
111
}
0 commit comments