How to make an animated number counter?

@midosaid88 just add this method to the string: . toLocaleString ()
The parameter inside the method can be empty (so the user locale is going to be used) or you can set it to the locale you want, like: ‘en-US’