Β»Math.random() is not so random β€” The Illusion of Randomness in JavaScript:
Don’t Trust Math.random() - Uncovering the Hidden Predictability of Random Numbers.Β«

In some applications random numbers are very useful but not unique and therefore you should consider where to use it. In this regard, there are for example, UUID v4 or Nano ID and the same.

πŸ§‘β€πŸ’» https://vinitshahdeo.substack.com/p/mathrandom-is-not-so-random-the-illusion

#javascript #random #illusion #coding #js #code #nanoid #notunique #unique #dev #webdev #math #donttrust #uuid #uuidv4

Math.random() is not so random: The Illusion of Randomness in JavaScript

Don’t Trust Math.random(): Uncovering the Hidden Predictability of Random Numbers.

Vinit Shahdeo