const sum = new CSSMathSum(CSS.px(10), CSS.em(5), CSS.percent(50));
for (const index of sum.values.keys()) {
console.log(index);
}
// 0
// 1
// 2CSSNumericArray: keys() method / notebook
CSSNumericArray: keys() method
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.