doesn't work with `Object.create`
alexander-akait opened this issue · comments
Alexander Akait commented
Reproducible repo:
// Works with `clone-deep` too
const clone = require('clone');
const { klona } = require('klona/full');
const obj = Object.create({
method() {
return 'foo';
},
});
console.log(clone(obj).method());
console.log(klona(obj).method());
Luke Edwards commented
Sorry for the delay on this – thanks for reporting!