MCPcopy Create free account
hub / github.com/Semporia/Scripts / prefixInteger

Function prefixInteger

jd_validate.js:288–290  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

286 }
287
288 function prefixInteger(a, b) {
289 return (Array(b).join(0) + a).slice(-b)
290 }
291
292 function pretreatment(d, c, b) {
293 let e = string10to64(Math.abs(d));

Callers 1

pretreatmentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected