functionVehicle () {}Vehicle.prototype.move=function() {thrownewError ("Don't know how to move");}functionCar() {}Dexie.derive(Car).from(Vehicle).extend(function() {//// Private closure scope for private methods//functionprivFunc() {alert ("The wheels are rolling"); }return {//// Public methods here (all methods are put on Car.prototype)//move:function() {privFunc(); } };});var car =newCar();alert (car instanceofVehicle); // alerts 'true'car.move();