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 does 3+4+"7" evaluate to?

0 Answers  


What is console.log()?

0 Answers  


What can be the challenges during testing a program or a system?

0 Answers  


What is the use of dom?

0 Answers  


What are self Executing Functions?

0 Answers  


Write a Program of Simple Calculator in JavaScript using HTML.

1 Answers  


Explain the different types of pop-up boxes you can create in JavaScript.

0 Answers  


what is flux in javascript?

0 Answers  


What is difference between callback and promise?

0 Answers  


Is function a data type in javascript?

0 Answers  


How do you send a message to the browser in JavaScript?

3 Answers   Four soft, Vsys,


What are the limitations of javascript?

0 Answers  


Categories