// Get the rectangle element
const rect = document.querySelector("rect");
// Access the non-animated transform list of the element
const baseTransforms = rect.transform.baseVal;
// Log the base transforms to the console
console.dir(baseTransforms);SVGAnimatedTransformList.baseVal Property / notebook
SVGAnimatedTransformList.baseVal Property
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.