Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Array destructuring

let [name, team] = ["Bob", "100Devs"]

console.log(name)//"Bob"
console.log(team)//"100Devs"
Source by slides.com #
 
PREVIOUS NEXT
Tagged: #Array #destructuring
ADD COMMENT
Topic
Name
5+1 =