Pad a string with zeros

Code
const startString = '42'
const newString = startString.padStart(4, '0')