'use strict';

// Basic Constructor

// Defining the constructor
function Car(model, color, year) {
    this.model = model;
    this.color = color;
    this.year = year;

    this.information = function() {
        return 'This car model is ' + this.model + ', with ' + this.color + ' color from ' + this.age + ' year.';
    };
}


// Create a new instance of the constructor object

var honda = new Car('Civic', 'grey', 2007);
var fiat = new Car('punto','blue', 2006);

// Calling the object method

console.log(honda.information());
console.log(fiat.information());

@@ -302,11 +302,12 @@
 his.
-age
+year
  + '
@@ -468,102 +468,4 @@
 6);%0A
-%0A// Calling the object method%0A%0Aconsole.log(honda.information());%0Aconsole.log(fiat.information());%0A

fix Object Example bug with wrong property