Could a clone method be added to the Document object? I would like to write a foreign function interface for this library in purescript. I can not guarantee pure code with hidden mutable state, this could be solved by cloning the object on each change. Then the old object will remain available untouched.
Could a clone method be added to the
Document
object? I would like to write a foreign function interface for this library in purescript. I can not guarantee pure code with hidden mutable state, this could be solved by cloning the object on each change. Then the old object will remain available untouched.