please help me with the following problem: The function arguments and the number of them may differ each time. How to properly read the arguments ?
For example:
function fnMyfunction (params) { console.log (params) } //--> displays 1 var res = fnMyfunction ("1", 2, 78, "s");
When I read the params inside the function I get only the first value. Is it possible to send arguments as a list ?