DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript copy object except one property
let x = {a: 1, b: 2, c: 3, z:26}; let {b, ...y} = x;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#copy
#object
#property
ADD COMMENT
Topic
COMMENT
Name
9+7 =
Submit