Today I Learned

In JavaScript, document.activeElement gives you the active element. How did I never know this?