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 an enum



What is an enum..

Answer / hrpatelsoft@gmail.com

An enum is a type restricting variables to one value from a predefined set of constants. JavaScript has no enums but typescript provides built-in enum support.
enum Color {
RED, GREEN, BLUE
}

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JavaScript Interview Questions

What are local variables in javascript?

0 Answers  


Which built-in method returns the characters in a string beginning at the specified location?

0 Answers  


How to create multiline strings in javascript?

0 Answers  


List some design patterns in javascript?

0 Answers  


How to have the status line update when the mouse goes over a link (the support of the status line is sporadic)?

0 Answers  


a code in vb script, which creates a table of 5*2 in html this is a static table, one more same dynamic table, as we give input the table should get created.

0 Answers   IBM,


What is the benefit of arrow functions?

0 Answers  


Are there any iphone Institutes which also train iphone automation testing in Hyderabad?

0 Answers  


Taking a developer's perspective, do you think that that javascript is easy to learn and use?

0 Answers  


What is a global variable in programming?

0 Answers  


What is the purpose of 'this' operator in JavaScript?

0 Answers  


What is variables in javascript?

0 Answers  


Categories