Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 3
    Missing keys return undefined in js, no errors are raised. Commented Oct 11, 2013 at 17:49
  • 3
    Related: stackoverflow.com/a/1098955/846892 Commented Oct 11, 2013 at 17:52
  • possible duplicate of Checking if an associative array key exists in Javascript Commented Oct 11, 2013 at 17:55
  • @Pointy Well that gives a way to do things, but is there an exception I could use? Commented Oct 11, 2013 at 17:57
  • 1
    @GamesBrainiac I don't think javascript likes EAFP approach, so why do you want an exception? Commented Oct 11, 2013 at 18:02