8027016: Array.prototype.indexOf should return -1 when array is of length zero

Reviewed-by: lagergren, attila
2 files changed