I was reading about .splice() method in MDN. When I got to the first parameter(starting index) I understood all cases but the last one.
What does "and will be set to 0 if absolute value is greater than the length of the array" exactly means?
Parameters
start
Index at which to start changing the array (with origin 0). If greater than the length of the array, actual starting index will be set to the length of the array. If negative, will begin that many elements from the end of the array (with origin -1) and will be set to 0 if absolute value is greater than the length of the array.
-15as the first argument, it treats it as if you passed0.