JavaScript - how to print all values from an object
<p>I'm trying to get one object from this array and print all of its values into a div, Is it possible</p>

<pre><code>function Car(company, name, price, details, image, alt){ 
        this.company = company;
        this.name = name;
        this.price = price;
        this.details = details;
        this.image = image;
        this.alt = alt;
    }

var carInformation = [new Car("Company: Ferrari", "Name: Marenello", "Price: $250,000", "Details: Fast. Very Fast.", "images/ferrari.jpg","image of ferrari"),
                          new Car("Company: Dodge", "Name: Viper", "Price: $100,000","Details: Great Acceleration","images/dodge.jpg", "image of viper"),
                          new Car("Company: Ford", "Name: Shelby", "Price: $80,000", "Details: Muscle Car", "images/mustang.jpg", "image of mustang"),
                          new Car("Company: Back To The Future", "Name: Delorean", "Price: $20,000", "Details: Travels through time","images/delorean.jpg", "image of delorean"),
                          new Car("Company: Lamborghini", "Name: Diablo", "Price: $250,000", "Details: Fastest","images/lambo.jpg","image of lamborghini"),
                          new Car("Company: Mercedes Benz", "Name: SLR", "Price: $180,000", "Details: Classy Vehicle.","images/benz.jpg","image of mercedes benz"),
                          new Car("Company: Chevrolet", "Name: Corvette", "Price: $70,000", "Details: Fiberglass body Light Vehicle.","images/vette.jpg","image of corvette"),
                          new Car("Company: Porsche", "Name: Carrera", "Price: $120,000", "Details: Great Handling.","images/porsche.jpg", "image of porsche"),
                          new Car("Company: Audi", "Name: R8", "Price: $110,000", "Details: Fast and Classy.", "images/audi.jpg","image of audi") ];

    for(i=0;i&lt;carInformation.length;i++) {
    $('#container').append('&lt;div class="product"&gt;&lt;li&gt;&lt;a href="#" &gt;&lt;img src="' + carInformation[i].image + '" alt="' + carInformation[i].alt +'" &gt;&lt;/img&gt;&lt;/a&gt;&lt;/li&gt;&lt;div class="description"&gt;&lt;p class="carCompany"&gt;'+ carInformation[i].company +'&lt;/p&gt;&lt;p class="carName"&gt;'+ carInformation[i].name +'&lt;/p&gt;&lt;p class="carPrice"&gt;'+ carInformation[i].price +'&lt;/p&gt;&lt;p class="carDetails"&gt;'+ carInformation[i].details +'&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;');
    $('#productPage').append('&lt;div id="carInfo"&gt;' + carInformation[i] + '&lt;/div&gt;');

        }
</code></pre>

<p>The '#container' line works. Is it possible to just print all the values without writing each property? Like I attempted in the '#productPage'?
 It returns object Object. why? When I write console.log(carInformation[0]); I am able to see all the values in the object.</p>
