mirror of
https://github.com/baserow/baserow.git
synced 2026-12-06 01:08:32 +00:00
10 lines
174 B
JavaScript
10 lines
174 B
JavaScript
/**
|
|
* Clones the provided Javascript object and returns that one.
|
|
*
|
|
* @param o
|
|
* @return {object}
|
|
*/
|
|
export function clone(o) {
|
|
return JSON.parse(JSON.stringify(o))
|
|
}
|