In the article , you will learn how to pass multiple parameters in javascript function by using spread operator.
Example of spread operator
function myFunction(...value) {
document.write(value);
}
myFunction(1,2,3,4,5);
Try it Yourself »
Comments (0)