darkf/darkfo

Can't compile in ES6 mode

darkf opened this issue · 0 comments

darkf commented

With "target": "es6", it will fail because Obj.clone doesn't seem to work with ES6 objects, it doesn't clone their methods.

Might have to write our own ES6-compatible deep clone, possibly even one that is Obj-specific.