Skip to content

Commit c924f80

Browse files
committed
Normative: Don't output "fractionalDigits" when the value is undefined
For consistency with other Intl objects, don't output "fractionalDigits" when its value is `undefined`.
1 parent ff2a16f commit c924f80

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spec.emu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,8 @@ contributors: Ujjwal Sharma, Younies Mahmoud
665665
1. If _v_ is not *undefined*, set _v_ to 𝔽(_v_).
666666
1. Else,
667667
1. Assert: _v_ is not *undefined*.
668-
1. Perform ! CreateDataPropertyOrThrow(_options_, _p_, _v_).
668+
1. If _v_ is not *undefined*, then
669+
1. Perform ! CreateDataPropertyOrThrow(_options_, _p_, _v_).
669670
1. Return _options_.
670671
</emu-alg>
671672

0 commit comments

Comments
 (0)