diff --git a/typeset.js b/typeset.js index 5db33524ac8300155e033e4fdb239620dbf0294a..3c174cf262edb23879211f09751b2c0ec34fb072 100644 --- a/typeset.js +++ b/typeset.js @@ -480,6 +480,14 @@ const TSET = [ } } }, + { + name: 'object', + copy: { + object: function(obj){ + return JSON.parse(JSON.stringify(obj)) + } + } + }, { // cuttlefish only, so no key, read or write fn's // this is : https://developer.mozilla.org/en-US/docs/Web/API/ImageData name: 'ImageData',