MDN says it is \"an Array like object\" but does not say what it is an instance of.
It is not an HTMLCollection
or NodeList
.
If I call
You can retrieve the name of the function where arguments
returned from using callee.name
function test() {
this.args = arguments;
}
var obj = new test();
console.log(obj.args.callee.name);
function test() {
return arguments
}
console.log(test().callee.name);
See also Why was the arguments.callee.caller property deprecated in JavaScript? , Arguments object