Home » JavaScript » JavaScript Statements » Question

JavaScript Statements

  1. The enumeration order becomes implementation dependent and non-interoperable if:
    1. The delete keyword is never used
    2. Object.defineProperty() is not used
    3. If the object inherits enumerable properties
    4. The object does not have the properties present in the integer array indices
    5. None of these
Correct Option: C

In computer programming, an enumerated type (also called enumeration or enum) is a data type consisting of a set of named values called elements, members or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language.



Your comments will be displayed only after manual approval.