0

Eloquent Javascript. Excercise = "Looping a Triangle".

please can someone check if my solution is correct? i mean i think it is.. it looks like it is but verification from someone else would be nice. Code to be ran: let result = ""; for (let counter = 0; counter < 7; counter = counter + 1) { console.log(result += "#") } // output "#" "##" "###" "####" "#####" "######" "#######"

6th Mar 2019, 10:24 AM
Nelson Graham
Nelson Graham - avatar
2 Antworten
+ 3
//hey Nelson Graham it works nicely, But you should be posting question here, you fill problems, https://www.sololearn.com/discuss/1316935/?ref=app
6th Mar 2019, 10:46 AM
Sudarshan Rai
Sudarshan Rai - avatar
0
Thanks, Ill post my next solution in there. Going to attempt this fizz buzz thing.
7th Mar 2019, 12:38 AM
Nelson Graham
Nelson Graham - avatar