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 596cffb commit 69d25d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1274,8 +1274,8 @@ location: https://github.com/tc39/proposal-decimal/
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. Set _obj_.[[number]] to _O_.
1. Set _obj_.[[precision]] to _digits_.
1. Set _obj_.[[Number]] to _O_.
1. Set _obj_.[[Precision]] to _digits_.
1. Return _obj_.
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 69d25d2

Please sign in to comment.