DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js create an object from another object with some keys removed
const {a, ...restOfObject} = {a: 1, b: 2, c: 3};
PREVIOUS
NEXT
Tagged:
#js
#create
#object
#object
#keys
#removed
ADD COMMENT
Topic
COMMENT
Name
4+6 =
Submit