var TimerClass = function($node, $days){
this.interval;
self.run = object.run;
function Timer(node, days){
this.node = document.getElementById($node);
this.DOM = [];
this.interval = 0;
console.log('Timer create!!!');
};
Timer.prototype = {
run: function(){
interval = setInterval(timer, 1000);
function timer(){
console.log('Hello! You run timer!!!');
}
},
stop: function(){
clearInterval(this.interval);
}
}
var timer = new Timer('node', 12);
timer.run();