Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript Spread Operator

const arrValue = ['My', 'name', 'is', 'Jack'];

console.log(arrValue);   // ["My", "name", "is", "Jack"]
console.log(...arrValue); // My name is Jack
Source by developer.mozilla.org #
 
PREVIOUS NEXT
Tagged: #javascript #Spread #Operator
ADD COMMENT
Topic
Name
1+2 =