Skip to content

Commit

Permalink
correct ! to ?
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang committed Apr 29, 2022
1 parent d3e7f09 commit 31d62a6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions spec/duration.html
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ <h1>Temporal.Duration.prototype.add ( _other_ [ , _options_ ] )</h1>
<emu-alg>
1. Let _duration_ be the *this* value.
1. Perform ? RequireInternalSlot(_duration_, [[InitializedTemporalDuration]]).
1. Return ! AddTemporalDuration(1, _duration_, _other_, _options_).
1. Return ? AddTemporalDuration(1, _duration_, _other_, _options_).
</emu-alg>
</emu-clause>

Expand All @@ -396,7 +396,7 @@ <h1>Temporal.Duration.prototype.subtract ( _other_ [ , _options_ ] )</h1>
<emu-alg>
1. Let _duration_ be the *this* value.
1. Perform ? RequireInternalSlot(_duration_, [[InitializedTemporalDuration]]).
1. Return ! AddTemporalDuration(-1, _duration_, _other_, _options_).
1. Return ? AddTemporalDuration(-1, _duration_, _other_, _options_).
</emu-alg>
</emu-clause>

Expand Down
4 changes: 2 additions & 2 deletions spec/instant.html
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ <h1>Temporal.Instant.prototype.add ( _temporalDurationLike_ )</h1>
<emu-alg>
1. Let _instant_ be the *this* value.
1. Perform ? RequireInternalSlot(_instant_, [[InitializedTemporalInstant]]).
1. Return ! AddTemporalInstant(1, _instant_, _temporalDurationLike_).
1. Return ? AddTemporalInstant(1, _instant_, _temporalDurationLike_).
</emu-alg>
</emu-clause>

Expand All @@ -239,7 +239,7 @@ <h1>Temporal.Instant.prototype.subtract ( _temporalDurationLike_ )</h1>
<emu-alg>
1. Let _instant_ be the *this* value.
1. Perform ? RequireInternalSlot(_instant_, [[InitializedTemporalInstant]]).
1. Return ! AddTemporalInstant(-1, _instant_, _temporalDurationLike_).
1. Return ? AddTemporalInstant(-1, _instant_, _temporalDurationLike_).
</emu-alg>
</emu-clause>

Expand Down
4 changes: 2 additions & 2 deletions spec/zoneddatetime.html
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ <h1>Temporal.ZonedDateTime.prototype.add ( _temporalDurationLike_ [ , _options_
<emu-alg>
1. Let _zonedDateTime_ be the *this* value.
1. Perform ? RequireInternalSlot(_zonedDateTime_, [[InitializedTemporalZonedDateTime]]).
1. Return ! AddTemporalZonedDateTime(1, _zonedDateTime_, _temporalDurationLike_, _options_).
1. Return ? AddTemporalZonedDateTime(1, _zonedDateTime_, _temporalDurationLike_, _options_).
</emu-alg>
</emu-clause>

Expand All @@ -680,7 +680,7 @@ <h1>Temporal.ZonedDateTime.prototype.subtract ( _temporalDurationLike_ [ , _opti
<emu-alg>
1. Let _zonedDateTime_ be the *this* value.
1. Perform ? RequireInternalSlot(_zonedDateTime_, [[InitializedTemporalZonedDateTime]]).
1. Return ! AddTemporalZonedDateTime(-1, _zonedDateTime_, _temporalDurationLike_, _options_).
1. Return ? AddTemporalZonedDateTime(-1, _zonedDateTime_, _temporalDurationLike_, _options_).
</emu-alg>
</emu-clause>

Expand Down

0 comments on commit 31d62a6

Please sign in to comment.