One more quick poll: given an exception about not enough args to `document.querySelector`, should the "Learn More" link in the console point to <https://developer.mozilla.org/docs/Web/JavaScript/Reference/Errors/More_arguments_needed …> or to <https://developer.mozilla.org/docs/Web/API/Document/querySelector …>? My personal preference is for the latter, fwiw.
That's sort of where I was. If the error includes which function was being called, docs for that function seem much more useful than docs for the sort of problem it had (if we have the latter), because all those problems that are common to many functions are pretty generic...
-
-
Though I guess if the error is about "http://Foo.bar : arg 3 is not iterable" or some such, it's not clear whether docs for http://Foo.bar or docs for "is not iterable" are more useful...
-
Not possible to link both, is it? <a href=...>http://Foo.bar </a>: arg 3 <a href=...>is not iterable</a> or something? Not sure how rigidly structured our current console messages are.
- 4 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.