Lorem ipsum dolor sit amet
{"ScriptPreparationCode":"var el = document.getElementById(\u0022el\u0022);","TestCases":[{"Name":"offsetWidth / offsetHeight (destructured and renamed)","Code":"const { offsetWidth: width, offsetHeight: height } = el;\r\n\r\nconst perim = (width \u002B height) * 2;","IsDeferred":false},{"Name":"offsetWidth / offsetHeight (destructured)","Code":"const { offsetWidth, offsetHeight } = el;\r\n\r\nconst perim = (offsetWidth \u002B offsetHeight) * 2;","IsDeferred":false},{"Name":"offsetWidth / offsetHeight (simple property access)","Code":"const width = el.offsetWidth;\r\nconst height = el.offsetHeight;\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}]}