What\'s the equivalent to element.scrollHeight for window in plain vanilla Javascript? I\'m trying to rewrite code to target window or document>
window
document>
document.documentElement.scrollHeight