@@ -285,7 +285,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
285
285
1. Perform ! CreateDataPropertyOrThrow(_nfOpts_, `"minimumIntegerDigits"`, `2`).
286
286
1. If _value_ is 0 and _display_ is `"auto"`, then
287
287
1. Skip to the next iteration.
288
- 1. Let _nf_ be ? Construct(%NumberFormat%, « _durationFormat_.[[Locale]], _nfOpts_ »).
288
+ 1. Let _nf_ be ! Construct(%NumberFormat%, « _durationFormat_.[[Locale]], _nfOpts_ »).
289
289
1. Let _num_ be ! FormatNumeric(_durationFormat_.[[NumberFormat]], 𝔽(_value_)).
290
290
1. Let _dataLocale_ be _durationFormat_.[[DataLocale]].
291
291
1. Let _dataLocaleData_ be the current value of the _dataLocale_ slot of %DurationFormat%.[[LocaleData]].
@@ -295,7 +295,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
295
295
1. Let _separator_ be _dataLocaleData_.[[formats]].[[digital]].[[separator]].
296
296
1. Append the new Record { [[Type]]: `"literal"`, [[Value]]: _separator_} to the end of _result_.
297
297
1. Else,
298
- 1. Let _pr_ be ? Construct(%PluralRules%, « _durationFormat_.[[Locale]] »).
298
+ 1. Let _pr_ be ! Construct(%PluralRules%, « _durationFormat_.[[Locale]] »).
299
299
1. Let _prv_ be ! ResolvePlural(_pr_, 𝔽(_value_)).
300
300
1. Let _template_ be the current value of the _prv_ slot of the _unit_ slot of the _style_ slot of _dataLocaleData_.[[formats]].
301
301
1. Let _parts_ be ! MakePartsList(_template_, _unit_, _num_).
@@ -307,7 +307,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
307
307
1. Append the new Record { [[Type]]: _unit_, [[Value]]: _concat_ } to the end of _result_.
308
308
1. If _done_ is *true*, then
309
309
1. Stop iteration.
310
- 1. Let _lf_ be ? Construct(%ListFormat%, « _durationFormat_.[[Locale]] »).
310
+ 1. Let _lf_ be ! Construct(%ListFormat%, « _durationFormat_.[[Locale]] »).
311
311
1. Set _result_ to ! CreatePartsFromList(_lf_, _result_).
312
312
1. Return _result_.
313
313
</emu-alg>
@@ -431,7 +431,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
431
431
1. Perform ? RequireInternalSlot(_df_, [[InitializedDurationFormat]]).
432
432
1. Let _record_ be ? ToDurationRecord(_duration_).
433
433
1. If IsValidDurationRecord(_record_) is *false*, throw a *RangeError* exception.
434
- 1. Let _formatted_ be ? PartitionDurationFormatPattern(_df_, _record_).
434
+ 1. Let _formatted_ be ! PartitionDurationFormatPattern(_df_, _record_).
435
435
1. Let _result_ be a new empty String.
436
436
1. For each element _part_ in _formatted_, in List order, do
437
437
1. Set _result_ to the string-concatenation of _result_ and _part_.[[Value]].
@@ -448,7 +448,7 @@ contributors: Ujjwal Sharma, Younies Mahmoud
448
448
1. Perform ? RequireInternalSlot(_df_, [[InitializedDurationFormat]]).
449
449
1. Let _record_ be ? ToDurationRecord(_duration_).
450
450
1. If IsValidDurationRecord(_record_) is *false*, throw a *RangeError* exception.
451
- 1. Let _formatted_ be ? PartitionDurationFormatPattern(_df_, _record_).
451
+ 1. Let _formatted_ be ! PartitionDurationFormatPattern(_df_, _record_).
452
452
1. Let _result_ be ! ArrayCreate(0).
453
453
1. Let _n_ be 0.
454
454
1. For each element _part_ in _formatted_, in List order, do
0 commit comments