diff --git a/src/js/elt.js b/src/js/elt.js index a8cc1d1..5a01162 100644 --- a/src/js/elt.js +++ b/src/js/elt.js @@ -25,7 +25,7 @@ export function elt(type, attrs, ...children) for (let child of children) { - if (typeof child != "string") + if (typeof child !== "string") { node.appendChild(child); }