//앞자리 0으로 채워서 2자리 만들기 String.prototype.padStart(2, '0'); //뒷자리 0으로 채워서 2자리 만들기 String.prototype.padEnd(2, '0');