Skip to content

Commit 1fd3a0d

Browse files
itsvinayakcclauss
andauthored
Update CONTRIBUTING.md
Co-authored-by: Christian Clauss <cclauss@me.com>
1 parent 362cd00 commit 1fd3a0d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,12 @@ We want your work to be readable by others; therefore, we encourage you to note
6464
- Always use 2 spaces for indentation of code blocks
6565
```
6666
function sumOfArray (arrayOfNumbers) {
67-
let sum = 0
68-
for (let i = 0; i < arrayOfNumbers.length; i++) {
69-
sum += arrayOfNumbers[i]
70-
}
71-
return (sum)
72-
}
67+
let sum = 0
68+
for (let i = 0; i < arrayOfNumbers.length; i++) {
69+
sum += arrayOfNumbers[i]
70+
}
71+
return (sum)
72+
}
7373
7474
```
7575
- Avoid using global variables and avoid '=='

0 commit comments

Comments
 (0)