I try to do elementary inheritance
function hot () { this.time = 44; this.has = true } function hot2 () { this.desc = 'some'; } hot2.prototype = hot(); var f = new hot2(); console.log(f.has);
writes undefined why I cannot access the hot function variables through the hot2 instance