if (isArguments && object.length > 0) {
        for (var j = 0; j < object.length; ++j) {
            theKeys.push(String(j));
        }
    } else {