Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Triangle
function makeLineHorizontal(length) { var line = ""; for (var j = 1; j <= length; j++) { line += "__" } return line + "\n"; } var diagonal = "* "; var gaps = "" ; var vertical= "|" for (var j = -1; j <= 16; j++) {gaps +=" " print(vertical+gaps+diagonal); } print(makeLineHorizontal(19))
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
🦆 you JS
SKYIES
Prime Factors
GCD
More testing with JS
Looping Strings
JS Testing
nuBuilder - Calc precision
Javascript Basics
Oh my numbers!
Please log in to post a comment.