Skip to content

Commit

Permalink
Update spec.emu
Browse files Browse the repository at this point in the history
Co-authored-by: Nicolò Ribaudo <[email protected]>
  • Loading branch information
jessealama and nicolo-ribaudo authored Sep 18, 2024
1 parent a5233f8 commit f691c10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,7 @@ location: https://github.com/tc39/proposal-decimal/
1. If _digits_ is *NaN*<sub>𝔽</sub>, *+∞<sub>𝔽</sub>*, or *+∞<sub>𝔽</sub>*, throw a *RangeError* exception.
1. If ℝ(_digits_) is not an integer, throw a *TypeError* exception.
1. IF ℝ(_digits_) < 0, throw a *RangeError* exception.
1. Let _obj_ be OrdinaryObjectCreate(%WithFractionalDigitsPrototype%, « _O_ »).
1. Let _obj_ be OrdinaryObjectCreate(%WithFractionalDigitsPrototype%, « [[Number]], [[Precision]] »).
1. Set _obj_.[[Number]] to _O_.
1. Set _obj_.[[Precision]] to _digits_.
1. Return _obj_.
Expand Down

0 comments on commit f691c10

Please sign in to comment.