Javascript Challenges

#2 Fooling around boolean

All the following statements are true

!!{} == true;
[] == false;

We have the following code:

var hasTruthyStuff = function (aSymbols) {
    var nResult = 0,
        i = 0,
        nLen = aSymbols.length;

    for (; i < nLen; i++) {
        nResult |= aSymbols[i];
    }
    return !!nResult;
};

But when we execute the following statement it returns false when we expected to return true because {} should return true.

hasTruthyStuff([{},[], 0])

Exercise

Correct!
False!

Why does calling the previous statement returns false?