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 2 (shorthand) boolean operators supported by javascript

0 Answers  


How to get complete current page url with javascript?

0 Answers  


What are the types of variables in javascript?

0 Answers  


In how many ways a Javascript code can be involved in an HTML file?

1 Answers  


What are the basic groups of dataypes in JavaScript?

0 Answers  


Is webassembly faster than javascript?

0 Answers  


What is array explain it?

0 Answers  


How to read a cookie using javascript?

0 Answers  


What is prototype in javascript and how do you use it?

0 Answers  


How do I disable javascript in my browser?

0 Answers  


Why jquery is used instead of javascript?

0 Answers  


What is the role of a strict mode in javascript?

0 Answers  


Categories