Pad a number with leading zeros

Using String.prototype.padStart()

const n = 1;
String(n).padStart(5, '0'); // '00001'