You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${@} is not the correct way to capture all function parameters. Can somebody tell me what is correct instead? I would like to be able to print contents of all arguments received by my function, without knowing in advance how many they are. I would also want to have all them in an array, so that I can do further processing on them. Is this possible?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
This simple code snippet below does not work:
${@} is not the correct way to capture all function parameters. Can somebody tell me what is correct instead? I would like to be able to print contents of all arguments received by my function, without knowing in advance how many they are. I would also want to have all them in an array, so that I can do further processing on them. Is this possible?
Thank you!
Dimas
Beta Was this translation helpful? Give feedback.
All reactions