Another update from ingydotnet^djgoku
This commit is contained in:
parent
91df62d461
commit
948b86eafa
7604 changed files with 108452 additions and 22726 deletions
7
Task/Loops-For/JavaScript/loops-for-1.js
Normal file
7
Task/Loops-For/JavaScript/loops-for-1.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
var i, j;
|
||||
for (i = 1; i <= 5; i += 1) {
|
||||
s = '';
|
||||
for (j = 0; j < i; j += 1)
|
||||
s += '*';
|
||||
document.write(s + '<br>');
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue