Kirk's UI Dev Blog
Monday, April 9, 2018
entertaining left pad with zeros in javascript
Nice hack to left pad a number in JS
("0000" + num).slice(-4)
via
stackoverflow
of course.
No comments:
Post a Comment
‹
›
Home
View web version
No comments:
Post a Comment