SetNumberFormatDigitOptions = function (intlObj, options, mnfdDefault, mxfdDefault) {
        const mnid = GetNumberOption(options, "minimumIntegerDigits", 1, 21, 1);
        const mnfd = GetNumberOption(options, "minimumFractionDigits", 0, 20, mnfdDefault);
        const mxfdActualDefault = _.max(mnfd, mxfdDefault);
        const mxfd = GetNumberOption(options, "maximumFractionDigits", mnfd, 20, mxfdActualDefault);
        intlObj.minimumIntegerDigits = mnid;
        intlObj.minimumFractionDigits = mnfd;
        intlObj.maximumFractionDigits = mxfd;

        let mnsd = options.minimumSignificantDigits;
        let mxsd = options.maximumSignificantDigits;
        if (mnsd !== undefined || mxsd !== undefined) {
            // don't read options.minimumSignificantDigits below in order to pass
            // test262/test/intl402/NumberFormat/significant-digits-options-get-sequence.js
            mnsd = GetNumberOption({ minimumSignificantDigits: mnsd }, "minimumSignificantDigits", 1, 21, 1);
            mxsd = GetNumberOption({ maximumSignificantDigits: mxsd }, "maximumSignificantDigits", mnsd, 21, 21);
            intlObj.minimumSignificantDigits = mnsd;
            intlObj.maximumSignificantDigits = mxsd;
        }
    }
Applies digit options used for number formatting onto the given intlObj

This function is used by both NumberFormat and PluralRules, despite being defined
as a NumberFormat abstract operation

ECMA 402: #sec-setnfdigitoptions

@param {Object} intlObj The state object of either a NumberFormat or PluralRules on which to set the resolved number options
@param {Object} options The option object to pull min/max sigfigs, fraction digits, and integer digits
@param {Number} mnfdDefault The default minimumFractionDigits
@param {Number} mxfdDefault The default maximumFractionDigits