You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9bccd06
Browse filesBrowse the repository at this point in the historyBrowse files
// 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
71
+
// The event director needs to have all the runner's first names converted to uppercase because the director BECAME DRUNK WITH POWER.
72
+
// Convert each first name into all caps and log the result
66
73
letallCaps=[];
67
74
console.log(allCaps);
68
75
69
76
// ==== Challenge 3: Use .filter() ====
70
-
// The large shirts won't be available for the event due to an ordering issue. Get a list of runners with large sized shirts so they can choose a different size. Return an array named largeShirts that contains information about the runners that have a shirt size of L and log the result
77
+
// The large shirts won't be available for the event due to an ordering issue.
78
+
//Get a list of runners with large sized shirts so they can choose a different size.
79
+
//Return an array named largeShirts that contains information about the runners that have a shirt size of L and log the result
71
80
letlargeShirts=[];
72
81
console.log(largeShirts);
73
82
74
83
// ==== Challenge 4: Use .reduce() ====
75
-
// The donations need to be tallied up and reported for tax purposes. Add up all the donations into a ticketPriceTotal array and log the result
84
+
// The donations need to be tallied up and reported for tax purposes.
85
+
//Add up all the donations into a ticketPriceTotal array and log the result
76
86
letticketPriceTotal=[];
77
87
console.log(ticketPriceTotal);
78
88
79
89
// ==== Challenge 5: Be Creative ====
80
-
// Now that you have used .forEach(), .map(), .filter(), and .reduce(). I want you to think of potential problems you could solve given the data set and the 5k fun run theme. Try to create and then solve 3 unique problems using one or many of the array methods listed above.
90
+
// Now that you have used .forEach(), .map(), .filter(), and .reduce().
91
+
// I want you to think of potential problems you could solve given the data set and the 5k fun run theme.
92
+
//Try to create and then solve 3 unique problems using one or many of the array methods listed above.
0 commit comments