1.0 Direct Testing, no starting at Parameter
* The indexOf String "Hello" is
* The indexOf String "Hi" is
* The indexOf Boolean 'true' is
* The indexOf Number '5' is
* The indexOf Number '9' is
2.0 A firstIndex parameter of 1 (positive offset test)
* The indexOf String "Hi" is
* The indexOf Boolean 'true' is
* The indexOf Number 5 is
* The indexOf Number 9 is
3.0 A firstIndex parameter of -4 (negative offset test)
* The indexOf String "Hi" is
* The indexOf Boolean 'true' is
* The indexOf Number 5 is
* The indexOf Number 9 is
4.0 A big positive firstIndex of 1000, to test the firstIndex > length
* The indexOf Number '9' is
5.0 A big positive firstIndex of 4294967301, to test when firstIndex > width of int (32-bits)
* The indexOf Boolean 'true' is
6.0 No arguments
* No arguments passed:
* No arguments passed:
7.0 Looking for null
* The indexOf null is
* The indexOf null is
8.0 Extra arguments
* The indexOf String "Hello" is
9.0 NaN firstIndex
* The indexOf String "Hi" is
10.0 Small firstIndex
* The indexOf Boolean 'true' is
11.0 Negative firstIndex bigger than the length of the array
* The indexOf Boolean 'true' is
12.0 Negative firstIndex bigger than 32-bits
* The indexOf Boolean 'true' is
13.0 Looking for undefined
* The indexOf undefined is
* The indexOf undefined is
* The indexOf undefined is
* The indexOf undefined is
* The indexOf undefined is
14.0 Object using the Array prototype
* The indexOf String "Hello" is
* The indexOf String "Hi" is
* The indexOf Boolean 'true' is
* The indexOf Number '5' is
* The indexOf Number '9' is