Hello,
I was wondering if it was possible to save arguments in a variable to call a function with them later. Try to demonstrate an example:
let numeros = (1, 3);
function adicionar(a, b) {
return a + b;
}
adicionar(numeros);
I wanted to know if it was possible in a similar way where I just passed the variable and the function knew the arguments, assuming I can not change the function to accept array or other type to be able to add the numbers inside. >