SyntaxFix
Write A Post
Hire A Developer
Questions
Using underscore:
var index = _.indexOf(_.pluck(item , 'name'), 'Nick');