2022 Developer Survey is open! Take survey.
user avatar
user avatar
user avatar
Douglas.Sesar
  • Member for 9 years, 8 months
  • Last seen more than a month ago
Stats
1,357
reputation
202k
reached
76
answers
1
question
Loading…
About

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());
1
gold badge
9
silver badges
12
bronze badges
19
Score
6
Posts
8
Posts %
18
Score
10
Posts
13
Posts %
13
Score
6
Posts
8
Posts %
7
Score
5
Posts
6
Posts %
5
Score
6
Posts
8
Posts %
4
Score
7
Posts
9
Posts %
Top posts
View all questions and answers