Advertisement
RokettoJanpu

rng helper

Jul 24th, 2019
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .split(` `).map(a=>parseInt(a)).filter(a=>!isNaN(a));a.length==2&&a[1]>=a[0]?Math.floor(Math.random()*(a[1]-a[0]+1))+a[0]:Math.ceil(Math.random()*100)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement