Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

avoiding 0 at front in javascript

number.replace(/^0+/, '')
Source by flaviocopes.com #
 
PREVIOUS NEXT
Tagged: #avoiding #front #javascript
ADD COMMENT
Topic
Name
9+8 =