Skip to content

Instantly share code, notes, and snippets.

@deanshub
Created June 6, 2019 10:12
function getRandomInt(max) {
return Math.floor(Math.random() * Math.floor(max))
}
module.exports = {
increase: function(value) {
return value + 1
},
random: function() {
return getRandomInt(100)
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment