Exercices to learn Javascript.
Get the following output in your browser console:
Hello World!
0
111
22222
4444444
Get the following output in your browser console:
Exercice 2:
000000000
1111111
22222
333
4
Get a moving 1
in an array of 0
.
Step 1:
100000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
Step 2:
010000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
Step 3:
001000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
000000000
etc...