On Tue, Nov 16, 2010 at 7:59 PM, Jan Lehnardt <[email protected]> wrote:
> that is: if(_doc_ids === undefined || typeof(_doc_ids) !== "list") > > // actually typeof(_doc_ids) === "undefined" for the first clause > > If you can point me out to me that a defined list could also be > undefined, I'm happy to accept your wording :) > I don't say that . I said that doc_ids could be undefined or not a list which is wrong. eg. someone didn't fill the body, gave an object, a string, etc. I'm speaking about the current state of the doc_ids variable not about what we expect it should be. That's the difference between 2 sentences.
