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