On Tue, Nov 16, 2010 at 7:45 PM, Jan Lehnardt <[email protected]> wrote: > > On 16 Nov 2010, at 19:36, Benoit Chesneau wrote: > >> On Tue, Nov 16, 2010 at 7:28 PM, Benoit Chesneau <[email protected]> wrote: >>> On Tue, Nov 16, 2010 at 7:19 PM, Filipe David Manana >>> <[email protected]> wrote: >> s a list, you are less descriptive. >>>>> >>>> >>>> If it's not defined than it's definitely not a list. Does it make sense? >>> I didn't say that your sentence didn't have sense. But I meant to be >>> more descriptive. Afterall that's the reason you want to use === >>> rather than == in js. >>> >> >> To be clear , I prefer to give all reasons why this error happened >> rather than using a mind shortcut and while I'm on it maybe it could >> be better if i just give the right reason? The only reason I don't >> actually is because I wanted to use less code > > I don't get it. > > You said _doc_ids === undefined || typeof(_doc_ids) != List.
no i said if typeof(doc_ids) === "list"
