Loading ...
Sorry, an error occurred while loading the content.

3142Re: parseInt "Missing radix parameter" warning message

Expand Messages
  • douglascrockford
    Feb 27, 2013
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "Robert" <rpeyser47@...> wrote:

      > Having just gotten bitten by this and not realizing the implications, could we have the message:
      > Missing radix parameter.
      > changed to something more alarming like:
      > Missing radix parameter: LEADING ZEROS WILL BE TREATED AS OCTAL!
      > note: maybe 8 exclamation points would be appropriate here

      Perhaps there should be a general warning attached to every warning:

      If you ignore JSLint's advice, you may get bitten.
    • Show all 3 messages in this topic