prepend.js 98 Bytes Edit Raw Blame History 1 2 3 export default function prepend(node, parent) { parent.insertBefore(node, parent.firstChild); }