79803189

Date: 2025-10-28 19:17:24
Score: 1.5
Natty:
Report link

Here is a solution I come up with:

offsetRight = elem.offsetWidth - elem.clientWidth - elem.clientLeft;
offsetBottom = elem.offsetHeight - elem.clientHeight - elem.clientTop;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nerdy