Glad the pinnacle of programming is still there: left-pad
export function leftPad(str, len, ch) {
return new Array(len - str.length).fill(ch || ch === 0 ? ch : ' ').join('') + str
}[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
const bespokePad = (x) => ('000000' + x).slice(-6)