JsLanguageLevel
Enumerates supported JavaScript language levels.
Content copied to clipboard
elide.assets.EmbeddedScriptMetadata.JsScriptMetadata.JsLanguageLevel
Properties
Link copied to clipboard
The language level is ES2017.
Content copied to clipboard
ES2017 = 3;
Link copied to clipboard
The language level is ES2018.
Content copied to clipboard
ES2018 = 4;
Link copied to clipboard
The language level is ES2019.
Content copied to clipboard
ES2019 = 5;
Link copied to clipboard
The language level is ES2020.
Content copied to clipboard
ES2020 = 6;
Link copied to clipboard
The language level is ES2021.
Content copied to clipboard
ES2021 = 7;
Link copied to clipboard
The language level is ES2022.
Content copied to clipboard
ES2022 = 8;
Link copied to clipboard
The language level is ES2023.
Content copied to clipboard
ES2023 = 9;
Link copied to clipboard
The language level is unknown or unspecified; regular code should not use this value.
Content copied to clipboard
JS_LANGUAGE_LEVEL_DEFAULT = 0;
Link copied to clipboard
Latest language features, stability be damned.
Content copied to clipboard
LATEST = 99;
Link copied to clipboard
Stable language features.
Content copied to clipboard
STABLE = 98;
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<EmbeddedScriptMetadata.JsScriptMetadata.JsLanguageLevel>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): EmbeddedScriptMetadata.JsScriptMetadata.JsLanguageLevel
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.