var objetdart4 = function() {
    this.title = "Art in the Age of Digital Reproduction";
    this.credits = "Pall Thayer, 2015";
    this.life = 0;
    this.duration = 5;
    this.lives = [];
    
    this.objectsOfObjects = function() {
        maker = setInterval(makeObject, 1000);
    };
    
    var makeObject = function() {
        this.lives.push(new objetdart4());
        killObject();
    }.bind(this);
    
    var killObject = function() {
        for(var i = 0;i < this.lives.length;i++) {
            if(this.lives[i].life > this.duration) {
                delete this.lives[i];
                this.lives.splice(i, 1);
            }else{
                this.lives[i].life++;
            }
        }
        console.log(this.lives);
    }.bind(this);
};