Use strict equality checks
This commit is contained in:
parent
1c58ac04a4
commit
6e6eceab2b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue