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

1977in

Expand Messages
  • Douglas Crockford
    Feb 24 9:32 AM
    • 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.