beautify_js
This commit is contained in:
parent
0febe4f5fd
commit
5c2f32e184
208 changed files with 3891 additions and 1474 deletions
|
@ -2,7 +2,7 @@ function makeArmy() {
|
|||
|
||||
var shooters = [];
|
||||
|
||||
for(var i=0; i<10; i++) {
|
||||
for (var i = 0; i < 10; i++) {
|
||||
var shooter = function() { // функция-стрелок
|
||||
alert(i); // выводит свой номер
|
||||
};
|
||||
|
@ -10,4 +10,4 @@ function makeArmy() {
|
|||
}
|
||||
|
||||
return shooters;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue