Modern JavaScript Videos
About Lesson

In this video we want to learn about JavaScript padStart() & padEnd() In JavaScript, padStart() and padEnd() are two string methods that are used to pad string with another string until it reaches specified length. The padStart() method is used to pad a string from the beginning (left) of the string, while the padEnd() method is used to pad a string from the end (right) of the string.

Join the conversation