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 |
What are local variables in javascript?
Which built-in method returns the characters in a string beginning at the specified location?
How to create multiline strings in javascript?
List some design patterns in javascript?
How to have the status line update when the mouse goes over a link (the support of the status line is sporadic)?
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.
What is the benefit of arrow functions?
Are there any iphone Institutes which also train iphone automation testing in Hyderabad?
Taking a developer's perspective, do you think that that javascript is easy to learn and use?
What is a global variable in programming?
What is the purpose of 'this' operator in JavaScript?
What is variables in javascript?