Skip to main content

random

functionv1.11

cljs.math/random

(random [])
Returns a positive double between 0.0 and 1.0, chosen pseudorandomly with approximately random distribution. Not cryptographically secure. The seed is chosen internally and cannot be selected. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/random

No examples yet. Be the first to add one!