etc/config/windows/utilities.js
// returns index of value in array or -1
returns index of value in array or -1
returns index of value in array or - 1
function arrayIndexOf(array, value)
{
    for (var i = 0; i < array.length; ++i)
        if (array[i] == value)
            return i;
    return -1;
}
function arrayIndexOf ( array , value ) { for ( var i = 0 ; i < array . length ; ++ i ) if ( array [ i ] == value ) return i ; return - 1 ; }
returns index of value in array or -1
returns index of value in array or - 1