spread in parameter function code example
Example 1: spread operator javascript
[a, b, ...objIteravel] = [1, 2, 3, 4, 5];
Example 2: spread and rest operator javascript
function myData(...args){console.log(args) ; // ["Marina",24,"Front-End Developer"]}myData("Marina",24,"Front-End Developer") ;