document.getElementById() with no args throws. What should the message start with? "Document.getElementById requires ..."? "Document.prototype.getElementById requires ..."? "Document's getElementById requires ..."? "Document#getElementById requires ..."? Something else?
Reading a stack trace may not help much if you're dealing with minified JS as one so often is. The goal is to help all devs without confusing any of them. This is not just targeted at "new devs". It's targeted at _me_ as someone who has to debug websites, for example. ;)
If you want to help new devs, keep it simple and call it “The document.getElementById method”? Lowercase, that is.