if (callback == null && isArray(collection)) {
        var index = -1,
            length = collection.length;

        while (++index < length) {