Skip to content

Commit

Permalink
This is the constructor of the Bus class.
Browse files Browse the repository at this point in the history
Every Bus instance will have a number defining its route.
Every bus will have an array of BusStops for defining its route too.
  • Loading branch information
emreoztunc committed Jul 25, 2011
1 parent 966368c commit 08d0b8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iett/index.html
Expand Up @@ -15,7 +15,8 @@
BusStop.prototype.whereIsTheBus=function(){};


var Bus = function(){
var Bus = function(busNo){
this.busNo=busNo;
this.route=[];

};
Expand Down

0 comments on commit 08d0b8b

Please sign in to comment.