Skip to content

Commit

Permalink
changed variable name for more clarity in HOF test ga-wdi-exercises#1
Browse files Browse the repository at this point in the history
  • Loading branch information
MarissaWood committed May 25, 2018
1 parent e6748f7 commit 60c8675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hof.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ var people = [
// called `peopleNames`.
// Type your solution immediately below this line:
var peopleNames = []
people.map(function(name) {peopleNames.push(name.name)})
people.map(function(person) {peopleNames.push(person.name)})

// #2: Use the `filter` array method to create a new, filtered array containing only
// persons from the `people` array who know multiple languages. Assign the returned array
Expand Down

0 comments on commit 60c8675

Please sign in to comment.