mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 15:41:17 -04:00
commit all random stuff to repo
This commit is contained in:
3
static/candies/scripts/commas.js
Executable file
3
static/candies/scripts/commas.js
Executable file
@@ -0,0 +1,3 @@
|
||||
function numberWithCommas(x) {
|
||||
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
|
||||
}
|
Reference in New Issue
Block a user