Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the output of below code

var car = new Vehicle("Honda", "white", "2010", "UK");
console.log(car);

function Vehicle(model, color, year, country) {
this.model = model;
this.color = color;
this.year = year;
this.country = country;
}

Answer Posted / hrpatelsoft@gmail.com

{model: "Honda", color: "white", year: "2010", country: "UK"}

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the potential disadvantage of using a sticky session?

987


How to read a cookie using javascript?

1219


What does break and continue statements do in javascript?

979


Can you use javascript to hack?

935


How can you read properties of an Object in JavaScript?

991


What is new function in javascript?

1081


just for testing

2192


Describe what u had done today?

2286


How do you write an event emitter base class that allows you to add event listeners?

1041


Are javascript variables global?

1161


What's the purpose of javascript?

1051


What is the role of break and continue statements?

979


What do ellipses mean in javascript?

965


What are the advantages of using external javascript?

991


What are self invoking functions?

1022