Underscore.js 1.7の使い方 Arrays編 lastIndexOf

var r = document.getElementById("r");
r.innerHTML = _.lastIndexOf(['a', 'b', 'c', 'b'], 'b');
// => 3