Is there a faster solution than document.getElementById()?

JavaScript should be written on a computer. That goes without saying. But in 2011, during my final post-secondary exam, I had to write JavaScript functions out by hand.

Yes, I physically had to write out loops, variables, selectors, and even:

document.getElementById();