Skip to content

Commit 0077cb1

Browse files
authored
Merge pull request #120 from Elshan10/patch-1
Fix solution.md
2 parents 9ca0742 + 36a7fab commit 0077cb1

File tree

1 file changed

+2
-2
lines changed
  • 1-js/05-data-types/04-array/5-array-input-sum

1 file changed

+2
-2
lines changed

1-js/05-data-types/04-array/5-array-input-sum/solution.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ function sumInput() {
1818

1919
let toplam = 0;
2020
for (let sayi of sayilar) {
21-
sayilar += sayi;
21+
toplam += sayi;
2222
}
2323
return toplam;
2424
}
2525

2626
alert( sumInput() );
27-
```
27+
```

0 commit comments

Comments
 (0)