UNPKG

predict-next-random

Version:

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

7 lines (6 loc) 183 B
import predictNextRandom from '../dist/index.js'; predictNextRandom().then(result => { console.log(Math.random(), result); }).catch(err => { console.error('Error:', err); });