Javascript: I have the DOM representation of a node (element or document) and I\'m looking for the string representation of it. E.g.,
var el = document.creat
if using react:
const html = ReactDOM.findDOMNode(document.getElementsByTagName('html')[0]).outerHTML;