Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- let randomNumber = Math.floor(Math.random() * 100) + 1;
- if (randomNumber > 50) {
- console.log("Wow, that's surprising!");
- } else {
- console.log("Meh, not that surprising.");
- }
Advertisement
Add Comment
Please, Sign In to add comment