Skip to content

Commit

Permalink
Editorial: Correct GetExportedNames return type (#3127)
Browse files Browse the repository at this point in the history
  • Loading branch information
bojavou authored and ljharb committed Jul 24, 2023
1 parent e59b54b commit 57f427b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec.html
Original file line number Diff line number Diff line change
Expand Up @@ -27706,7 +27706,7 @@ <h1>
<h1>
GetExportedNames (
optional _exportStarSet_: a List of Source Text Module Records,
): a List of either Strings or *null*
): a List of Strings
</h1>
<dl class="header">
<dt>for</dt>
Expand All @@ -27722,9 +27722,11 @@ <h1>
1. Let _exportedNames_ be a new empty List.
1. For each ExportEntry Record _e_ of _module_.[[LocalExportEntries]], do
1. Assert: _module_ provides the direct binding for this export.
1. Assert: _e_.[[ExportName]] is not *null*.
1. Append _e_.[[ExportName]] to _exportedNames_.
1. For each ExportEntry Record _e_ of _module_.[[IndirectExportEntries]], do
1. Assert: _module_ imports a specific binding for this export.
1. Assert: _e_.[[ExportName]] is not *null*.
1. Append _e_.[[ExportName]] to _exportedNames_.
1. For each ExportEntry Record _e_ of _module_.[[StarExportEntries]], do
1. Let _requestedModule_ be GetImportedModule(_module_, _e_.[[ModuleRequest]]).
Expand Down

0 comments on commit 57f427b

Please sign in to comment.