7 kyu
getNames()
7,554 of 9,621jhoffner
Description:
The following code is not giving the expected results. Can you debug what the issue is?
The following is an example of data that would be passed in to the function.
var data = [
{name: 'Joe', age: 20},
{name: 'Bill', age: 30},
{name: 'Kate', age: 23}
]
getNames(data) // should return ['Joe', 'Bill', 'Kate']
Debugging
Stats:
Created | Mar 21, 2013 |
Published | Mar 21, 2013 |
Warriors Trained | 14102 |
Total Skips | 758 |
Total Code Submissions | 25721 |
Total Times Completed | 9621 |
JavaScript Completions | 7554 |
C# Completions | 797 |
Clojure Completions | 46 |
Python Completions | 1213 |
Total Stars | 53 |
% of votes with a positive feedback rating | 84% of 1035 |
Total "Very Satisfied" Votes | 770 |
Total "Somewhat Satisfied" Votes | 207 |
Total "Not Satisfied" Votes | 58 |