let arr1 = [1, -2, 3, 4];
let arr2 = [8, 3, -8, 1];
function fun()
{
console.log(arguments)
}
const fun1 = (...n) =>{
console.log(n)
}
fun.call(...arr1, ...arr2)
output : [object Arguments] { 0: -2, 1: 3, 2: 4, 3: 8, 4: 3, 5: -8, 6: 1 }
fun1.call(...arr1,...arr2)
output : [-2, 3, 4, 8, 3, -8, 1]
arr1 and arr2 combined have 8 values but output is only 7 values why? how to get all the values ?