Lorem ipsum dolor sit amet
{"ScriptPreparationCode":"var el = document.getElementById(\u0022el\u0022);","TestCases":[{"Name":"clientWidth / clientHeight (destructured and renamed)","Code":"const { clientWidth: width, clientHeight: height } = el;\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false},{"Name":"clientWidth / clientHeight (destructured)","Code":"const { clientWidth, clientHeight } = el;\r\n\r\nconst perim = (clientWidth \u002B clientHeight) * 2;","IsDeferred":false},{"Name":"clientWidth / clientHeight (simple property access)","Code":"const width = el.clientWidth;\r\nconst height = el.clientHeight;\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false},{"Name":"getBoundingClientRect() (destructured)","Code":"const { width, height } = el.getBoundingClientRect();\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false},{"Name":"getBoundingClientRect() (simple property access)","Code":"const rect = el.getBoundingClientRect();\r\nconst width = rect.width;\r\nconst height = rect.height;\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false},{"Name":"getComputedStyle","Code":"const { height, width } = getComputedStyle(el);\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false}]}