src/js/builtin/intl/NumberFormat.js
/**
 * Verifies that the given string is a well-formed ISO 4217 currency code.
 *
 * Spec: ECMAScript Internationalization API Specification, 6.3.1.
 */
Verifies that the given string is a well-formed ISO 4217 currency code.
Spec: ECMAScript Internationalization API Specification, 6.3.1.
Verifies that the given string is a well - formed ISO 4217 currency code . Spec : ECMAScript Internationalization API Specification 6 . 3 . 1 .
function IsWellFormedCurrencyCode(currency) {
    assert(typeof currency === "string", "currency is a string value");
    return currency.length === 3 && IsASCIIAlphaString(currency);
}
function IsWellFormedCurrencyCode ( currency ) { assert ( typeof currency === "string" , "currency is a string value" ) ; return currency . length === 3 && IsASCIIAlphaString ( currency ) ; }
Verifies that the given string is a well-formed ISO 4217 currency code.
Verifies that the given string is a well - formed ISO 4217 currency code .