Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Bench.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(function(){

/*
*Trash class in Lab.
*Bench class in Lab.
*/
function Bench(name){
this.name = name;
Expand All @@ -15,7 +15,7 @@
console.log("execute the Bench place method with name is :"+this.name);
}

//new a instance of Trash class.
//new a instance of Bench class.
var bench=new Bench("Bench");

//execute the action method which inheirt from Equipment class.
Expand All @@ -24,4 +24,4 @@
//execute place method of Bench class.
bench.place();

})();
})();