src/third_party/mozjs/extract/js/src/builtin/intl/NumberFormat.js
/**
 * Create function to be cached and returned by Intl.NumberFormat.prototype.format.
 *
 * Spec: ECMAScript Internationalization API Specification, 11.1.4.
 */
Create function to be cached and returned by Intl.NumberFormat.prototype.format.
Spec: ECMAScript Internationalization API Specification, 11.1.4.
Create function to be cached and returned by Intl . NumberFormat . prototype . format . Spec : ECMAScript Internationalization API Specification 11 . 1 . 4 .
function createNumberFormatFormat(nf) {
    return function(value) {
        assert(IsObject(nf), "InitializeNumberFormat called with non-object");
        assert(intl_GuardToNumberFormat(nf) !== null,
               "InitializeNumberFormat called with non-NumberFormat");
        var x = ToNumeric(value);
        return intl_FormatNumber(nf, x,  false);
    };
}
function createNumberFormatFormat ( nf ) { return function ( value ) { assert ( IsObject ( nf ) , "InitializeNumberFormat called with non-object" ) ; assert ( intl_GuardToNumberFormat ( nf ) !== null , "InitializeNumberFormat called with non-NumberFormat" ) ; var x = ToNumeric ( value ) ; return intl_FormatNumber ( nf , x , false ) ; } ; }
Create function to be cached and returned by Intl.NumberFormat.prototype.format.
Create function to be cached and returned by Intl . NumberFormat . prototype . format .
// This function is not inlined in $Intl_NumberFormat_format_get to avoid // creating a call-object on each call to $Intl_NumberFormat_format_get. // Step 1 (implicit). // Step 2. // Steps 3-4. // Step 5. /* formatToParts = */