So i have two objects
var Vehicle = {
type:"4 wheel vehicle",
run: function(){
console.log(this.type + " is running.";
}
}
var Car = {
type:"Car"
}
Car.run();
This should print "Car is running", I know i can definitely do
var Car = Object.create(Vehicle);
Car.type = "Car";
Car.run();