MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / pad

Function pad

wxapp/tmj.js:73–73  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

71 const m = d.getMonth() + 1;
72 const day = d.getDate();
73 const pad = (n) => String(n).padStart(2, "0");
74 return {
75 year: y,
76 month: m,

Callers 6

todayInfoFunction · 0.70
encrypt_3desFunction · 0.50
encrypt_requestFunction · 0.50
encrypt_data_cloudMethod · 0.50
aiting_get_aesMethod · 0.50
aiting_aes_encryptMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected