Skip to content

Glossary: Software Design Patterns in JavaScript

padStart

A string method that pads the text on the left to a given width, so padStart(8) right-aligns numbers in report columns.

Where the book teaches it

Related terms

toFixed