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

in

Expand Messages
  • Douglas Crockford
    JSLint now gives a warning on the -in- prefix operator. It is recommended that name in object be written as object[name] !== undefined or as
    Message 1 of 1 , Feb 24, 2011
    • 0 Attachment
      JSLint now gives a warning on the -in- prefix operator. It is recommended that

      name in object

      be written as

      object[name] !== undefined

      or as

      object.hasOwnProperty(name)

      depending on the intent.
    Your message has been successfully submitted and would be delivered to recipients shortly.