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?
-
Yeah… xmlHttpRequest? The intent is to make the class name look like an instance name.
- 3 more replies
New conversation -
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.