Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

unpacking array javascript

const arr=[1,2,3,4]
console.log(...arr) //unpacks array element
 
PREVIOUS NEXT
Tagged: #unpacking #array #javascript
ADD COMMENT
Topic
Name
4+1 =