You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. First argument must be a string or an array of strings. Value: `%s`.', locales ) );</span>
4195
4202
<spanclass="cstat-no" title="statement not covered" > }</span>
4196
4203
if ( arguments.length < 2 ) {
4197
-
opts = {};
4204
+
opt = {};
4198
4205
} else if ( isObject( options ) ) {
4199
-
opts = options;
4206
+
opt = options;
4200
4207
}<spanclass="branch-0 cbranch-no" title="branch not covered" > else {</span>
4201
4208
<spanclass="cstat-no" title="statement not covered" > throw new TypeError( format( 'invalid argument. Options argument must be an object. Value: `%s`.', options ) );</span>
4202
4209
<spanclass="cstat-no" title="statement not covered" > }</span>
4203
-
out = [];
4210
+
out = opts.name.toLocaleString( loc, opt ) + '(';
4204
4211
for ( i = 0; i < nfields; i++ ) {
4205
-
val = tuple[ indices[ i ] ];
4206
-
out.push( val.toLocaleString( loc, opts ) );
4212
+
out += fields[ i ].toLocaleString( loc, opt );
4213
+
out += '=';
4214
+
out += tuple[ indices[ i ] ].toLocaleString( loc, opt );
0 commit comments