es6 spread argumentgs javascript code example
Example 1: spread operator es6
[...fruits]
Example 2: spread and rest operator javascript
function myData(...args){console.log(args) ; // ["Marina",24,"Front-End Developer"]}myData("Marina",24,"Front-End Developer") ;