I’m attempting to modify the function below to accept an abitrary number of inputs. I think storing them in a variable then combining them is the method, but could use guidance.
var result = a + b;
I would like to pass any number of parameters to combine for addition, ie. combine(n,n,n,n,n,n,)