We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f82b5 commit dc3d08eCopy full SHA for dc3d08e
objix.js
@@ -58,12 +58,11 @@ const
58
},
59
60
clone(d, e) {
61
- return (!e && d == -1 && this.size() > 10) ? this.try(structuredClone, () => this.clone(d,1))
62
- : !this.is(O) ? this.valueOf()
+ return !this.is(O) ? this.valueOf()
+ : (!e && d == -1 && this.size() > 10) ? this.try(structuredClone, () => this.clone(d,1))
63
: [O,Array].has(this[C]) ? this.map(v => (d && v) ? v.clone(d-1) : v)
64
: new this[C](this)
65
- },
66
-
+},
67
join(...a) {
68
let r = A({}, this)
69
for(let o of a) K(o).map(k => r[k] &&= [].concat(r[k], o[k]))
0 commit comments