artdaq_node_server  v1_00_07
 All Classes Namespaces Files Variables Pages
_strictLastIndexOf.js
1 
11 function strictLastIndexOf(array, value, fromIndex) {
12  var index = fromIndex + 1;
13  while (index--) {
14  if (array[index] === value) {
15  return index;
16  }
17  }
18  return index;
19 }
20 
21 module.exports = strictLastIndexOf;