Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

set variable to object without editing old object js

var newObject = Object.assign({}, myObj);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #variable #object #editing #object #js
ADD COMMENT
Topic
Name
1+9 =