How can I append an array of child nodes to a parent node in one operation using JavaScript?
<p>In JavaScript, is there a way to add an array of child nodes to a parent node in one operation?</p>

<p>I want to do this in one operation to prevent unnecessary repaints.</p>

<p>I have tried parent <code>.appendChild(arrayOfNodes)</code>, but that gives an exception.</p>

<p>I am making a small component that will be reused among several projects, I don't want to depend on any library like jQuery or Zepto.</p>
