theFunction(...arr)
Just spread the array into the function arguments.
1
solved Unspecified number of parameters in a function [duplicate]
theFunction(...arr)
Just spread the array into the function arguments.
1
solved Unspecified number of parameters in a function [duplicate]