Skip to content

Instantly share code, notes, and snippets.

@jtpaasch
Created February 25, 2014 22:39
Show Gist options
  • Save jtpaasch/9219484 to your computer and use it in GitHub Desktop.
Save jtpaasch/9219484 to your computer and use it in GitHub Desktop.
Get a list of properties from a list of objects.
var find = function(list, property) {
return list.map(function(x) { return x[property]; }).sort();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment