mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-18 05:34:34 +00:00
14 lines
520 B
HTML
14 lines
520 B
HTML
<!DOCTYPE html>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
const element = document.createElement("div");
|
|
println(`element.classList initial value: "${element.classList.toString()}"`);
|
|
element.classList = "a";
|
|
println(`element.classList after setting classList to "a": "${element.classList.toString()}"`);
|
|
element.className = "";
|
|
println(`element.classList after setting className to "": "${element.classList.toString()}"`);
|
|
});
|
|
</script>
|
|
</html>
|