src/third_party/mozjs/extract/js/src/builtin/intl/RelativeTimeFormat.js
/**
 * Returns the resolved options for a RelativeTimeFormat object.
 *
 * Spec: ECMAScript 402 API, RelativeTimeFormat, 1.4.5.
 */
Returns the resolved options for a RelativeTimeFormat object.
Returns the resolved options for a RelativeTimeFormat object .
function Intl_RelativeTimeFormat_resolvedOptions() {
    var relativeTimeFormat = this;
    if (!IsObject(relativeTimeFormat) ||
        (relativeTimeFormat = intl_GuardToRelativeTimeFormat(relativeTimeFormat)) === null)
    {
        return callFunction(intl_CallRelativeTimeFormatMethodIfWrapped, this,
                            "Intl_RelativeTimeFormat_resolvedOptions");
    }
    var internals = getRelativeTimeFormatInternals(relativeTimeFormat);
    var result = {
        locale: internals.locale,
        style: internals.style,
        numeric: internals.numeric,
        numberingSystem: internals.numberingSystem,
    };
    return result;
}
function Intl_RelativeTimeFormat_resolvedOptions ( ) { var relativeTimeFormat = this ; if ( ! IsObject ( relativeTimeFormat ) || ( relativeTimeFormat = intl_GuardToRelativeTimeFormat ( relativeTimeFormat ) ) === null ) { return callFunction ( intl_CallRelativeTimeFormatMethodIfWrapped , this , "Intl_RelativeTimeFormat_resolvedOptions" ) ; } var internals = getRelativeTimeFormatInternals ( relativeTimeFormat ) ; var result = { locale : internals . locale , style : internals . style , numeric : internals . numeric , numberingSystem : internals . numberingSystem , } ; return result ; }
Returns the resolved options for a RelativeTimeFormat object.
Returns the resolved options for a RelativeTimeFormat object .
// Step 1. // Steps 2-3. // Steps 4-5. // Step 6.