Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

typescript clone object

import _ from "lodash"

const obj = { foo: "bar" }
const clone = _.cloneDeep(obj);
 
PREVIOUS NEXT
Tagged: #typescript #clone #object
ADD COMMENT
Topic
Name
5+9 =