DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
Destructing variable assignment
let profile = ['bob', 34, 'carpenter'];let [name, age, job] = profile;console.log(name);--> 'bob'
Source by levelup.gitconnected.com #
PREVIOUS
NEXT
Tagged:
#Destructing
#variable
#assignment
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit