pull/397/merge
Megh05 6 months ago committed by GitHub
commit e2d68088f4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -180,7 +180,7 @@ let sum = 0
for (const num of numbers) {
sum = sum + num
// can be also shorten like this, sum += num
// after this we will use the shorter synthax(+=, -=, *=, /= etc)
// after this we will use the shorter syntax(+=, -=, *=, /= etc)
}
console.log(sum) // 15

Loading…
Cancel
Save