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 902690c commit bcc1cff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec.emu
Original file line number Diff line number Diff line change
Expand Up @@ -1375,8 +1375,7 @@ location: https://github.com/tc39/proposal-decimal/
<h1>%WithFractionalDigitsPrototype%.valueOf ( )</h1>
<emu-alg>
1. Let _O_ be the *this* value.
1. Perform ? RequireInternalSlot(_O_, [[Prototype]]).
1. If _O_.[[Prototype]] is not %WithFractionalDigitsPrototype%, throw an *TypeError* exception.
1. Perform ? RequireInternalSlot(_O_, [[Precision]]).
1. Let _N_ be ! Get(_O_., *"number"*).
1. Let _valueOf_ be _N_.[[valueOf]].
1. Return ? Call(_N_, _valueOf_, « »).
Expand Down

0 comments on commit bcc1cff

Please sign in to comment.