underscore.js を使用してこの JavaScript オブジェクトをフィルタリングしようとしていますが、なぜ機能しないのかわかりません。これは、"how" を含む質問の値を見つけるためのものです。
var questions = [
{question: "what is your name"},
{question: "How old are you"},
{question: "whats is your mothers name"},
{question: "where do work/or study"},
];
var match = _.filter(questions),function(words){ return words === "how"});
alert(match); // its mean to print out -> how old are you?
完全なコードはこちらです (underscore.js は既に含まれています): http://jsfiddle.net/7cFbk/