Visualización de las distintas medidas de altura detectadas por js

Con el fin de entender un poco mejor el ancho y alto de los distintos componentes que se pueden detectar usando js he realizado este boceto.
//screeen
screen.height //altura de pantalla
//window
window.outerHeight
window.availHeight
window.innerHeight
//document
document.body.scrollHeight
document.body.clientHeight
document.body.offsetHeight
document.documentElement.scrollTop


Autor: Eduardo A. F.
Publicado: 28-09-2020 00:00