953 reputation
138
bio website dagtuts.com
location United States
age 30
visits member for 2 years, 8 months
seen May 17 at 16:44

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

104 Votes Cast

all time   by type   month  
103 up 46 question 1
1 down 58 answer