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?
-
-
Also worth thinking about how `eventTarget.addEventListener` looks. Maybe it's OK...
-
And for XHR, would it be `xMLHttpRequest.send` or `xmlhttpRequest.send` or something else?
- 4 more replies
New conversation -
-
-
I'd still go for "document". Not "window.document".
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.