ES2017 introduced many cool new features, which we’ll check out below.

String padding (.padStart() and .padEnd()) #

We can now add some padding to our strings, either at the end (.padEnd()) or at the beginning (.padStart()) of them.

Get hands-on with 1400+ tech skills courses.