Home
Podcast
Twitter
Pad a string with zeros
March - 2022
const startString = '42' const newString = startString.padStart(4, '0')