Skip to content

Commit 8d550de

Browse files
committed
Iteration ironhack-labs#5 Complete
1 parent 613968c commit 8d550de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/functions-and-arrays.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ function avg(array) {
149149
if (typeof array[i] === 'string' ) {
150150
sumLetter += array[i].length;
151151
} else if (typeof array[i] === true) {
152-
sumLetter += 1;
152+
sumLetter += 1;
153153
} else if (typeof array[i] === false) {
154154
sumLetter += 0;
155155
} else {

0 commit comments

Comments
 (0)