<html>
<body>
<h1>The DOMTokenList Object</h1>
<h2>The values() Method</h2>
<p>The values in the list are:</p>
<p id="demo" class="c1 c2 c3"></p>
<script>
let list = document.getElementById("demo").classList;
let text = "";
for (let x of list.values()) {
text += x + "<br>";
}
document.getElementById("demo").innerHTML = text;
</script>
</body>
</html>