docs: function indexOf(arr, x, comparator)
  {
    var cmp = comparator || equalsStrict;
  
    for (var i = 0, n = arr.length; i < n; i++)
    {
      if ( cmp( arr[i], x ) )
      {
        return i;
      }
    }
  
    return false;
  }