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

How can I learn coding fast?

0 Answers  


How does typeof operator work?

0 Answers  


What does “1?+2+4 Evaluate to? What about 5 + 4 + “3??

0 Answers  


How many types of data types are there?

0 Answers  


What is null variable?

0 Answers  


Can you access Cookie using javascript?

0 Answers  


What are the main functions performed by javascript statements?

0 Answers  


Explain why asynchronous code is important in javascript?

0 Answers  


What are anonymous functions in Javascript?

0 Answers  


Can you use javascript to hack?

0 Answers  


Is null in javascript?

0 Answers  


How to detect the OS on the client machine in JavaScript?

0 Answers  


Categories