Skip to content

Commit

Permalink
Editorial: fix ns => epochNanoseconds in CreateTemporalInstant (#1570)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankYFTang authored Jun 25, 2021
1 parent 540e12b commit 0e24fd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/instant.html
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ <h1>CreateTemporalInstant ( _epochNanoseconds_ [ , _newTarget_ ] )</h1>
1. Assert: ! IsValidEpochNanoseconds(_epochNanoseconds_) is *true*.
1. If _newTarget_ is not present, set it to %Temporal.Instant%.
1. Let _object_ be ? OrdinaryCreateFromConstructor(_newTarget_, *"%Temporal.Instant.prototype%"*, « [[InitializedTemporalInstant]], [[Nanoseconds]] »).
1. Set _object_.[[Nanoseconds]] to _ns_.
1. Set _object_.[[Nanoseconds]] to _epochNanoseconds_.
1. Return _object_.
</emu-alg>
</emu-clause>
Expand Down

0 comments on commit 0e24fd3

Please sign in to comment.