Debugging, no results

when I type printOrders nothing comes up in console but undefined…

Truck.prototype.printOrders=function(){
// syntax, object.keys(obj) returns array of a given objects
// properties
var customerArray=Object.keys(this.datastoreObject.getAll());

		console.log('Truck # '+ this.truckId+ ' has pending orders: ');
		customerArray.forEach(function(id){

			console.log(this.datastoreObject.get(id));
		 }
		 .bind(this)
		);
	};

Hi @Naomi, sorry about the delay — are you still facing this issue?

If so, what are you typing into the console? A screenshot of your console would be :100: