+ 1
What to do when you need a function's parameters to be dynamic.
I want to write a function where I am not quite sure about the ammount of string params I want to pass in. Is this even possible? Let's say the function is to create users and the params consist of name, age, and occupation - how would I write this so that it is dynamic and xreate as many users as needed
1 Answer
+ 2
a loop is what you are looking for