Menu Home

String.padStart, String.padEnd

Hi everyone, and welcome to another snore-fest of an edition of Boring JavaScript! Today, I tackle the String.padStart() and String.padEnd() methods. Ever wanted to create your own pad? Well, go to Zillow or something, because the pad we’re going to talk about deals with quick and easy methods to left or right justify text. Sounds exciting, right? You bet! So crank up the Video Viewer, sit back, and see if you fall asleep within five minutes of watching this gripping video.