953 reputation
138
bio website dagtuts.com
location United States
age 30
visits member for 2 years, 10 months
seen Jun 20 at 1:01

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

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

106 Votes Cast

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