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