ES2017: String Padding, Object.entries(), and More
Let's discover the many new and interesting features that ES2017 brought.
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.