My Daily Coding Blog

October

October 31 2016

October 26 2016

function Beer(name, brewery, rating){
this.name = name;
this.brewery = brewery;
this.rating = rating;

this.beerInfo = function(){
return "I give " + this.brewery + " " + this.name + " a " + this.rating + " out of 5 rating.";
};
}
var KBS = new Beer("KBS", "Founders", 4.9);
KBS.beerInfo();
"I give Founders KBS a 4.9 out of 5 rating."

October 25 2016

October 24 2016

October 18 2016

October 17 2016

October 16 2016

October 11 2016

October 10 2016

October 9 2016

October 6 2016

October 5 2016

October 4 2016

October 3 2016