//The padStart() method pads the current string with another string //(multiple times, if needed) until the resulting string reaches the given const hours='2' console.log(hours.padStart(2, 0)) //console '02'