getVariant (JavaScript) Returns the variant code for this locale. Defined inLocale (Runtime - JavaScript) SyntaxgetVariant() : string