"TypeError: Not enough arguments" could be more helpful.
https://bugs.webkit.org/show_bug.cgi?id=97983
Summary "TypeError: Not enough arguments" could be more helpful.
Mike West
Reported 2012-09-30 13:11:20 PDT
Report from user: Code - new Event() Error - TypeError: Not enough arguments Provide some information regarding, for example, the minimal number of expected arguments, their names (internal, I know, but helpful nonetheless) or their expected types. Generally, some integration with MDN/MSDN/whatever for providing more inline information about any function (as part of the automatic completion, say, or even as part of the object expanding within the console) would be wonderful. This particular example is V8-only, but the idea of integrating more deeply with external docs is interesting.
Attachments
Note You need to log in before you can comment on or make changes to this bug.