Urara-Blog/node_modules/.pnpm-store/v3/files/35/24846a1115f787ec4c282e54cf1a9cbb4f626e4f836314d434f29a2855bc88726d5c001cf51c1ac0532d9dac2eb550c366d80bab89b0c578ba688c25c91f3f-exec
2022-08-14 01:14:53 +08:00

6 lines
120 B
Text
Executable file

'use strict'
module.exports = (d, num) => {
num = String(num)
while (num.length < d) num = '0' + num
return num
}