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 will be the output of the following statements?
Why is object naming important to use in javascript?
How to go next field without filling the text? Which function should we use?
What are anonymous functions in Javascript?
Is javascript hard to learn?
Why jquery is used instead of javascript?
Hi Friends, I am new to java, please provide some use full docs, and where can i get basic Java script docs... thanx in advance
Why we use java script when java also supports validation?
What is strict mode?
Describe negative infinity in javascript?
what is onfocus and onblur events in java script?
How are event handlers utilized in javascript?