Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

object copy in javascript

let man1 = {
	name:"codepadding",
  	age:29
}
let man2 = {...man1};
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #object #copy #javascript
ADD COMMENT
Topic
Name
1+9 =