DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
ES5 Assigning Variables to Object Properties
var obj = { numbers: { a: 1, b: 2 } }; const {a, b} = obj.numbers
Source by curric.rithmschool.com #
PREVIOUS
NEXT
Tagged:
#Assigning
#Variables
#Object
#Properties
ADD COMMENT
Topic
COMMENT
Name
7+8 =
Submit