Skip to content

Instantly share code, notes, and snippets.

@isRuslan
Created May 22, 2015 17:47
Show Gist options
  • Select an option

  • Save isRuslan/6b4d679ca701f82c800a to your computer and use it in GitHub Desktop.

Select an option

Save isRuslan/6b4d679ca701f82c800a to your computer and use it in GitHub Desktop.
Find the random!
var random = Math.floor(Math.random() * 100 + 1)
// your code
var guess = ...
console.assert(guess, random, 'NO!'):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment