@@ -412,14 +412,14 @@ interface String {
412412 concat ( ...strings : string [ ] ) : string ;
413413
414414 /**
415- * Returns the position of the first occurrence of a substring.
415+ * Returns the position of the first occurrence of a substring, or -1 if it is not present .
416416 * @param searchString The substring to search for in the string
417417 * @param position The index at which to begin searching the String object. If omitted, search starts at the beginning of the string.
418418 */
419419 indexOf ( searchString : string , position ?: number ) : number ;
420420
421421 /**
422- * Returns the last occurrence of a substring in the string.
422+ * Returns the last occurrence of a substring in the string, or -1 if it is not present .
423423 * @param searchString The substring to search for.
424424 * @param position The index at which to begin searching. If omitted, the search begins at the end of the string.
425425 */
@@ -1948,7 +1948,7 @@ interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
19481948 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
19491949
19501950 /**
1951- * Returns the index of the first occurrence of a value in an array.
1951+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
19521952 * @param searchElement The value to locate in the array.
19531953 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
19541954 * search starts at index 0.
@@ -1963,7 +1963,7 @@ interface Int8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
19631963 join ( separator ?: string ) : string ;
19641964
19651965 /**
1966- * Returns the index of the last occurrence of a value in an array.
1966+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
19671967 * @param searchElement The value to locate in the array.
19681968 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
19691969 * search starts at index 0.
@@ -2229,7 +2229,7 @@ interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
22292229 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
22302230
22312231 /**
2232- * Returns the index of the first occurrence of a value in an array.
2232+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
22332233 * @param searchElement The value to locate in the array.
22342234 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
22352235 * search starts at index 0.
@@ -2244,7 +2244,7 @@ interface Uint8Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
22442244 join ( separator ?: string ) : string ;
22452245
22462246 /**
2247- * Returns the index of the last occurrence of a value in an array.
2247+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
22482248 * @param searchElement The value to locate in the array.
22492249 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
22502250 * search starts at index 0.
@@ -2510,7 +2510,7 @@ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBufferLi
25102510 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
25112511
25122512 /**
2513- * Returns the index of the first occurrence of a value in an array.
2513+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
25142514 * @param searchElement The value to locate in the array.
25152515 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
25162516 * search starts at index 0.
@@ -2525,7 +2525,7 @@ interface Uint8ClampedArray<TArrayBuffer extends ArrayBufferLike = ArrayBufferLi
25252525 join ( separator ?: string ) : string ;
25262526
25272527 /**
2528- * Returns the index of the last occurrence of a value in an array.
2528+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
25292529 * @param searchElement The value to locate in the array.
25302530 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
25312531 * search starts at index 0.
@@ -2790,7 +2790,7 @@ interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
27902790 */
27912791 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
27922792 /**
2793- * Returns the index of the first occurrence of a value in an array.
2793+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
27942794 * @param searchElement The value to locate in the array.
27952795 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
27962796 * search starts at index 0.
@@ -2805,7 +2805,7 @@ interface Int16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
28052805 join ( separator ?: string ) : string ;
28062806
28072807 /**
2808- * Returns the index of the last occurrence of a value in an array.
2808+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
28092809 * @param searchElement The value to locate in the array.
28102810 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
28112811 * search starts at index 0.
@@ -3071,7 +3071,7 @@ interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
30713071 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
30723072
30733073 /**
3074- * Returns the index of the first occurrence of a value in an array.
3074+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
30753075 * @param searchElement The value to locate in the array.
30763076 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
30773077 * search starts at index 0.
@@ -3086,7 +3086,7 @@ interface Uint16Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
30863086 join ( separator ?: string ) : string ;
30873087
30883088 /**
3089- * Returns the index of the last occurrence of a value in an array.
3089+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
30903090 * @param searchElement The value to locate in the array.
30913091 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
30923092 * search starts at index 0.
@@ -3351,7 +3351,7 @@ interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
33513351 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
33523352
33533353 /**
3354- * Returns the index of the first occurrence of a value in an array.
3354+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
33553355 * @param searchElement The value to locate in the array.
33563356 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
33573357 * search starts at index 0.
@@ -3366,7 +3366,7 @@ interface Int32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
33663366 join ( separator ?: string ) : string ;
33673367
33683368 /**
3369- * Returns the index of the last occurrence of a value in an array.
3369+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
33703370 * @param searchElement The value to locate in the array.
33713371 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
33723372 * search starts at index 0.
@@ -3631,7 +3631,7 @@ interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
36313631 */
36323632 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
36333633 /**
3634- * Returns the index of the first occurrence of a value in an array.
3634+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
36353635 * @param searchElement The value to locate in the array.
36363636 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
36373637 * search starts at index 0.
@@ -3646,7 +3646,7 @@ interface Uint32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
36463646 join ( separator ?: string ) : string ;
36473647
36483648 /**
3649- * Returns the index of the last occurrence of a value in an array.
3649+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
36503650 * @param searchElement The value to locate in the array.
36513651 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
36523652 * search starts at index 0.
@@ -3912,7 +3912,7 @@ interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
39123912 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
39133913
39143914 /**
3915- * Returns the index of the first occurrence of a value in an array.
3915+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
39163916 * @param searchElement The value to locate in the array.
39173917 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
39183918 * search starts at index 0.
@@ -3927,7 +3927,7 @@ interface Float32Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
39273927 join ( separator ?: string ) : string ;
39283928
39293929 /**
3930- * Returns the index of the last occurrence of a value in an array.
3930+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
39313931 * @param searchElement The value to locate in the array.
39323932 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
39333933 * search starts at index 0.
@@ -4193,7 +4193,7 @@ interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
41934193 forEach ( callbackfn : ( value : number , index : number , array : this) => void , thisArg ?: any ) : void ;
41944194
41954195 /**
4196- * Returns the index of the first occurrence of a value in an array.
4196+ * Returns the index of the first occurrence of a value in an array, or -1 if it is not present .
41974197 * @param searchElement The value to locate in the array.
41984198 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
41994199 * search starts at index 0.
@@ -4208,7 +4208,7 @@ interface Float64Array<TArrayBuffer extends ArrayBufferLike = ArrayBufferLike> {
42084208 join ( separator ?: string ) : string ;
42094209
42104210 /**
4211- * Returns the index of the last occurrence of a value in an array.
4211+ * Returns the index of the last occurrence of a value in an array, or -1 if it is not present .
42124212 * @param searchElement The value to locate in the array.
42134213 * @param fromIndex The array index at which to begin the search. If fromIndex is omitted, the
42144214 * search starts at index 0.
0 commit comments