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...


How do you extend classes
Code snippet:
const circle = {
radius: 20,
diameter() {
return this.radius * 2;
},
perimeter: () => 2 * Math.PI * this.radius
};



How do you extend classes Code snippet: const circle = { radius: 20, diameter() { retur..

Answer / hrpatelsoft@gmail.com

40 and NaN

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

How are DOM utilized in JavaScript?

0 Answers  


How to use external JavaScript file?

0 Answers  


When selecting the states by giving the country as input using ajax cal, how can we ensure that every time it is hitting the DB and fetching the data? Many time it may load from the cache.

1 Answers   CTS, GE,


What is break and continue statements?

0 Answers  


Where javascript variables are stored?

0 Answers  


What does === mean in js?

0 Answers  


How can I prevent others from reading/stealing my scripts or images?

0 Answers  


What is the difference between HTMLCollection and NodeList?

0 Answers  


What is the use of window object?

0 Answers  


How can you declare a class in javascript?

0 Answers  


What is the difference between write and writeln in javascript?

0 Answers  


What is output of undefined * 2 in javascript?

0 Answers  


Categories