Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

omit object javascript

// Now your object qux has all of the properties of foo except for bar and baz.
const { bar, baz, ...qux } = foo
 
PREVIOUS NEXT
Tagged: #omit #object #javascript
ADD COMMENT
Topic
Name
3+7 =