dimanche 18 juillet 2021

Need help converting Js script to equivalent as php function

{value:!0}),t.getPassCash=void 0;var n,o=(n=r(61961))&&n.__esModule?n:{default:n};t.getPassCash=e=>{for(var t=Math.random().toString(36),r="0000000000".slice(-1e),n="",i="",a=0;n.slice(-1e)!==r;)i="olid21:"+t+":"+String("0000000000"+a).slice(-10),n=(0,o.default)(i),a++;return i}}

This is the javascript code that I want to convert to equivalent as php function

and this is the example of the result = "olid21:0.7imj5ohnw9b:0000008597"




Aucun commentaire:

Enregistrer un commentaire