This website works better with JavaScript
Home
Explore
Help
Sign In
tuonq
/
ChatAI
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
3dc29197e1
Branches
Tags
master
ChatAI
/
app
/
utils
/
clone.ts
clone.ts
83 B
History
Raw
1
2
3
export
function
deepClone
<
T
>(
obj: T
)
{
return
JSON
.parse(
JSON
.stringify(obj));
}