Skip to content

Commit 919f675

Browse files
committed
add solution ironhack-labs#4 bonus
1 parent af7210e commit 919f675

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/functions-and-arrays.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,9 @@ function averageWordLength(input) {
7676
}
7777

7878
// Bonus - Iteration #4.1
79-
function avg() {}
79+
function avg(input) {
80+
return averageNumbers(input);
81+
}
8082

8183
// Iteration #5: Unique arrays
8284
const wordsUnique = [

0 commit comments

Comments
 (0)