Get the index of the first element in an array that returns truthy for the given value, using strict equality for comparisons.