I know the usage like:
Array.prototype.slice.call(document.querySelectorAll('a'))
to turn Nodelist datatype to array without a parameter, but I read from the W3CSchool about the usage of slice, the first parameter start is required:
start Required. An integer that specifies where to start the selection (The first element has an index of 0). Use negative numbers to select from the end of an array
so without a parameter and call that method is just OK? Why this could success?