Returns the index of the first/last occurrence of the item in the list. Returns 0 if item is not found.
first
last
Last updated 7 years ago
var list; list.indexOf('') + 1;
var list; list.lastIndexOf('') + 1;