SyntaxFix
Write A Post
Hire A Developer
Questions
Using Lodash
var array = [ { "name": "Joe", "age": 17 }, { "name": "Bob", "age": 17 }, { "name": "Carl", "age": 35 } ]; _.chain(array).map('age').unique().value();
Returns [17,35]