Douglas.Sesar

United States

http://dagtuts.com

var experience = 'novice'; var reason = 'It pays the bills.'; var Coding = function(reason){ this.reason = reason; }

    Coding.prototype.getProfitable = function(){
         return this.reason + '  And now I can do it for fun.';
    }
    var someday = new Coding(reason);
    alert(someday.getProfitable());