Create a gist now

Instantly share code, notes, and snippets.

@srs /main.js
Created Oct 19, 2016

PurpleJS Blob - Snippet 7
function getRandom(max) {
return Math.floor((Math.random() * max) + 1)
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment