“arguments” object works as an array for parameters of functions. These parameters can be accessed by the argument objects.
function show(){
console.log(arguments);
for(const item of arguments)
console.log(item);
}
https://www.instagram.com/p/CdGuFAuro...