pluto so you want to do OOP? your post isn't exactly clear on your intentions but i'll assume you want a way of constructing a class. in that case you'll need to setup something like this
var Car = (function() { /** @class */
function Car(name, brand, fuel, mileage, economy) {
this.name = name;
this.brand = brand;
this.fuel = fuel;
this.mileage = milage;
this.fuelEconomy = economy;
}
return Car;
})();
// invoke a class here
var car = new Car("Honda Civic", "Honda", 15, 53429, 30);