src/aria/utils/DomNavigationManager.js
function sliceArguments(args, startIndex) {
    if (startIndex == null) {
        startIndex = 0;
    }

    return Array.prototype.slice.call(args, startIndex);
}
function sliceArguments(args, startIndex) {
    if (startIndex == null) {
        startIndex = 0;
    }

    return Array.prototype.slice.call(args, startIndex);
}
function sliceArguments ( args , startIndex ) { if ( startIndex == null ) { startIndex = 0 ; } return Array . prototype . slice . call ( args , startIndex ) ; }
Turns all or part of the "arguments" of a function into an array. An optional start index can be specified, for the common use case of "splat args".

@param {Arguments} args The arguments of a function
@param {Number} startIndex An optional index at which to start the copy of the arguments; defaults to 0

@return {Array} The copy of the arguments
Turns all or part of the arguments of a function into an array . An optional start index can be specified for the common use case of splat args .