973 reputation
138
bio website dagtuts.com
location United States
age 30
visits member for 3 years
seen Aug 21 at 12:29

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());

10
× 9
4
× 2
9
× 5
4
8
× 6
2
× 7
5
× 4
2
× 3
4
× 6
2
× 2

106 Votes Cast

all time   by type  
105 up 47 question
1 down 59 answer