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*

3
  • What is NULL? It will be undefined. Commented Dec 28, 2011 at 9:58
  • better to check for undefined as if arguments[1] is set to false the check will fail Commented Dec 28, 2011 at 10:07
  • All good comments - I have edited my answer - does it look better now? Commented Dec 28, 2011 at 10:22