4 lines
76 B
TypeScript
4 lines
76 B
TypeScript
export function deepcopy(x: any) {
|
|
return JSON.parse(JSON.stringify(x));
|
|
}
|