vendredi 2 décembre 2016

Did someone implement a non-repeating pseudo random number generator in JavaScript? [on hold]

I want to generate 6-digit numeric coupon codes in JavaScript.

I'd like to use something like Preshing's algorithm, but it is written in C++. How can I implement it in Javascript?

I am rather new to JS, so I don't feel confident to write it by myself.




Aucun commentaire:

Enregistrer un commentaire