title: JavaScript how to convert object document.createElement to string
body: <p>it is impossible to get a string of <code>createElement</code> that you would assign to a variable</p>
  
  <pre><code>var h1 = document.createElement("h1")
  h1.innerHTML = "hello world"
  alert(h1)
  return "[object HTMLHeadingElement]"
  </code></pre>
  
  <p>when i use <code>appendChild</code> is work but i must use alert or other method</p>