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;
}



What is the output of below code var car = new Vehicle("Honda", "white", &quo..

Answer / hrpatelsoft@gmail.com

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

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What are javascript objects?

0 Answers  


How do I activate javascript on my phone?

0 Answers  


What is the use of a number object in javascript?

0 Answers  


What is escape & unescape String functions in JavaScript?

0 Answers  


What is the real name of JavaScript?

0 Answers  


what is the different between html and java?why the java is required in internet?

0 Answers  


Who created npm?

0 Answers  


How to test 404 page in QA

0 Answers  


How to reload the current page?

0 Answers  


Which built-in method returns the calling string value converted to lower case?

0 Answers  


What is meant by object oriented programming?

0 Answers  


What is a noscript tag?

0 Answers  


Categories