Skip to content

Instantly share code, notes, and snippets.

Vadzim Yakushau rootical

Block or report user

Report or block rootical

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
_randomNum: (max,min=0) ->
return Math.floor(Math.random() * (max - min) + min)
# min is set to 0 by default but a different value can be passed to function
_randomise: ->
randomNum = @_randomNum(10)
# returns a random integer between 0 and 10
You can’t perform that action at this time.