From 8af96039b9823bb38f4b80f0286ab9b12323b9a0 Mon Sep 17 00:00:00 2001 From: Ms2ger Date: Fri, 18 Mar 2022 16:03:09 +0100 Subject: [PATCH] Editorial: Add missing ! to Call invocations. --- spec/datetimeformat.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/datetimeformat.html b/spec/datetimeformat.html index 85e42049..34eaa5d0 100644 --- a/spec/datetimeformat.html +++ b/spec/datetimeformat.html @@ -472,7 +472,7 @@

Intl.DateTimeFormat.prototype.formatToParts ( _date_ )

1. Let _dtf_ be the *this* value. 1. Perform ? RequireInternalSlot(_dtf_, [[InitializedDateTimeFormat]]). 1. If _date_ is *undefined*, then - 1. Let _x_ be Call(%Date.now%, *undefined*). + 1. Let _x_ be ! Call(%Date.now%, *undefined*). 1. Else, 1. Let _x_ be ? ToNumber(_date_). 1. Return ? FormatDateTimeToParts(_dtf_, _x_). @@ -899,7 +899,7 @@

DateTime Format Functions

1. Let _dtf_ be _F_.[[DateTimeFormat]]. 1. Assert: Type(_dtf_) is Object and _dtf_ has an [[InitializedDateTimeFormat]] internal slot. 1. If _date_ is not provided or is *undefined*, then - 1. Let _x_ be Call(%Date.now%, *undefined*). + 1. Let _x_ be ! Call(%Date.now%, *undefined*). 1. Else, 1. Let _x_ be ? ToNumber(_date_). 1. Return ? FormatDateTime(_dtf_, _x_).