Created
March 29, 2019 02:00
-
-
Save duskvirkus/fd422f0a26c58a1ce69ec4ea9ffea84c to your computer and use it in GitHub Desktop.
10Print Generator for Default Terminal Size
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let s = ""; | |
for (let j = 0; j < 25; j++) { | |
for (let i = 0; i < 80; i++) { | |
Math.random() > 0.5 ? s += "/" : s += "\\"; | |
} | |
s += "\n"; | |
} | |
console.log(s); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment