const value = new CSSUnparsedValue(["1em", "#445566", "-45px"]);
for (const index of value.keys()) {
console.log(index);
}
// 0
// 1
// 2CSSUnparsedValue: keys() method / notebook
CSSUnparsedValue: keys() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.