Gayathri Kumaran posted: " This is not similar to how we pad leading zeros to a number in JavaScript, but very simple. We can use zfill() method which adds zeros (0) at the beginning of the string, until it reaches the specified length. If the value of the len parameter is less th"
|

No comments:
Post a Comment
Note: Only a member of this blog may post a comment.