DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add key vakue to front of object
let obj = {'b': 2, 'c': 3}; Object.assign({a: 1}, obj); // Object {a: 1, b: 2, c: 3}
PREVIOUS
NEXT
Tagged:
#add
#key
#vakue
#front
#object
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit