ES2017 added two new string functions. They are padStart and padEnd functions. In this lesson, we will understand how to use these functions and a few usecases to demonstarte the power they offer.
padStart
padEnd