Skip to content

Commit f487088

Browse files
committed
Solution for exercise 4 wesbos#7
1 parent ccfab9e commit f487088

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

04 - Array Cardio Day 1/index-START.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
// Sort the people alphabetically by last name
9090

9191
const alpha = people.sort(function(lastOne, nextOne) {
92+
const parts = lastOne.split(', ');
9293
console.log(lastOne);
9394
})
9495

0 commit comments

Comments
 (0)