UNPKG

predict-next-random

Version:

Predicts the next number in a sequence of Math.random() numbers

8 lines 219 B
<script src="../dist/index.global.js"></script> <script> predictNextRandom().then(result => { console.log(Math.random(), result); }).catch(err => { console.error('Error:', err); }); </script>