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

Re: Type inconsistency: string and number. (variable reuse)

Expand Messages
  • Douglas Crockford
    ... See http://tech.groups.yahoo.com/group/jslint_com/message/2241
    Message 1 of 2 , Jun 13, 2011
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "bartman1c" <bartman1c@...> wrote:

      > I have many applications that use a single variable to go through both
      > objects and arrays, never at the same time, I understand the variable(in
      > this example "x") becomes string for objects and number for arrays but I
      > can't understand the problem of reusing it.


      See http://tech.groups.yahoo.com/group/jslint_com/message/2241
    Your message has been successfully submitted and would be delivered to recipients shortly.