This commit is contained in:
polv committed 2021-10-24 22:44:24 +07:00
1 parent d3fdba1139
commit 70066f3086
5 files changed
+82 -78

No files matched your search

+4
View File
@@ -74,3 +74,7 @@ export function capitalize(s: string): string {
if (!s) return s
return s[0].toLocaleUpperCase() + s.substr(1)
}
export function jsonClone<T>(o: T): T {
return JSON.parse(JSON.stringify(o))
}