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?
Thank you. That's helpful, though some of the constraints are a bit different. But in particular, it sure would be nice if searching for the string from the error found the relevant MDN page....