Skip to content

Commit 820e299

Browse files
committed
work on array challenge 1 wording
1 parent 3cdada0 commit 820e299

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

assignments/array-methods.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ const runners = [
5656
];
5757

5858
// ==== Challenge 1: Use .forEach() ====
59-
// The event director needs both the first and last names of each runner for their running bibs. Combine both the first and last names into a new array called fullName.
60-
let fullName = [];
61-
console.log(fullName);
59+
// The event director needs both the first and last names of each runner for their running bibs. Combine both the first and last names and populate a new array called fullNames. This array contains just strings.
60+
let fullNames = [];
61+
console.log(fullNames);
6262

6363
// ==== Challenge 2: Use .map() ====
6464
// The event director needs to have all the runner's first names converted to uppercase because the director BECAME DRUNK WITH POWER. Convert each first name into all caps and log the result

0 commit comments

Comments
 (0)