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 will be the output of the code below? var Y = 1; if (function F(){}) { y += Typeof F;</span> } console.log(y);

1 Answers  


Write the code to maximize an image using javaScript?

2 Answers   Infosys,


How can I set up my own javascript error handler?

0 Answers  


Is not a function error in javascript?

0 Answers  


what data type javascript supports?

0 Answers  


How do you write an if statement in javascript?

0 Answers  


Can you run javascript in notepad?

0 Answers  


How to write html code dynamically using JavaScript?

0 Answers  


Explain how to detect the operating system on the client machine?

0 Answers  


Can you assign an anonymous function to a variable?

0 Answers  


What is a javascript code?

0 Answers  


What is eval() in javascript?

0 Answers  


Categories