Answer Posted / 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 View All Answers
What are the features of javascript?
What are the advantages of using JavaScript?
I am providing the Online& class room training on Worksoft Certify for SAP/HTML/JAVA using real time scenarios in a real time environment for a real time project, If any one is interested please get in touch with me on aimansaud@gmail.com
Is javascript object a hash table?
Which software is used for javascript?
If 2 methods have same name and same number of parameters, which one will be executed first?
How to Object.entries( ) In JavaScript ?
What is callback in javascript?
Does javascript support automatic type conversion?
What are 2 (shorthand) boolean operators supported by javascript
What is a prompt box in javascript?
What are undeclared and undefined variables?
What is js full form?
Define a named function in javascript.
What is a module in javascript?