Use strict equality checks

This commit is contained in:
Manuel Thalmann 2022-12-07 22:19:07 +01:00
parent 1c58ac04a4
commit 6e6eceab2b
No known key found for this signature in database
GPG key ID: 5FD9AD3CCDDBD27B

View file

@ -25,7 +25,7 @@ export function elt(type, attrs, ...children)
for (let child of children) for (let child of children)
{ {
if (typeof child != "string") if (typeof child !== "string")
{ {
node.appendChild(child); node.appendChild(child);
} }