- From: Ms2ger <notifications@github.com>
- Date: Fri, 12 Apr 2019 02:03:37 -0700
- To: heycam/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 12 April 2019 09:03:59 UTC
Ms2ger commented on this pull request.
> + <b>this module</b> to |initial|.
+ </blockquote>
+
+ An ECMAScript implementation would then expose a <code class="idl">"std:temporal"</code>
+ module which includes an [=interface object=] for the interface and a function for the operation:
+
+ <pre highlight="js">
+ import * from "std:temporal" as temporal;
+ Object.keys(temporal); // Evaluates to ["Timezone", "getCurrentTimezone", "currentTimezone"]
+ typeof temporal.Timezone; // Evaluates to "function"
+ typeof temporal.getCurrentTimezone; // Evaluates to "function"
+ typeof temporal.initialTimezone; // Evaluates to "object"
+ </pre>
+</div>
+
+### Syntax ### {#idl-modules-syntax}
If I ever get time, I'd like to see if this split makes sense for the other sections as well, but that's still a while off.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/pull/675#discussion_r274821125
Received on Friday, 12 April 2019 09:03:59 UTC