Open adamgian opened 2 years ago
To investigate feasibility and implementation of.
To be able to at least handle cases such as the following:
.classList.add(foo && "foo")
.classList.add(foo || "foo")
.classList.add(foo ?? "foo")
.classList.add(foo === "foo" && "foo")
.classList.add(foo > 42 && "foo")
.classList.add(isFoo() || "foo")
.classList.add(isFoo() ?? "foo")
.classList.add(isFoo() && "foo")
.classList.add(isFoo ? "foo" : "bar")
.classList.add(isFoo() ? "foo" : "bar")
.classList.add(!isBar ? "foo" : "")
To investigate feasibility and implementation of.
To be able to at least handle cases such as the following:
.classList.add(foo && "foo")
.classList.add(foo || "foo")
.classList.add(foo ?? "foo")
.classList.add(foo === "foo" && "foo")
.classList.add(foo > 42 && "foo")
.classList.add(isFoo() || "foo")
.classList.add(isFoo() ?? "foo")
.classList.add(isFoo() && "foo")
.classList.add(isFoo ? "foo" : "bar")
.classList.add(isFoo() ? "foo" : "bar")
.classList.add(!isBar ? "foo" : "")