A little doubt about the call () method?

function ArrayOf(){ 
  return [].slice.call(arguments); 
} 

this function implements the conversion of arguments to an array.
but I have a question: isn"t this call () method the first parameter that points to the this object? Why is it that in this expression [] .slice.call (arguments), how do I feel that arguments has become a parameter and is passed into an empty array?
really don"t know the principle of this implementation? Is there a boss who can enlighten me


[] .slice is getting the slice method


functionName.call(,),.functionName() argumentsarguments.slice() [].sliceslice

PS.slicethiscall()thiscallapply

function addAge() {
    this.age = 18;
}
let boy = {};
addAge.call(boy);
console.log(boy.age); //18
Menu