Skip to content

Commit

Permalink
Treatments on grammar via #45
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jun 9, 2022
1 parent 07f06ae commit 309eac1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ modules.

### Sketch

This is a rough sketch of potential interfaces.
Below is a rough sketch of potential interfaces.

* A "module instance" consists of a "module exports namespace", a "module
environment record", and a "static module record".
Expand Down Expand Up @@ -432,7 +432,7 @@ An exported value named `then` can be statically imported, but dynamic import
confuses the module namespace for a thenable object.
The resolution of the promise returned by dynamic import, in this case, is the
eventual resolution of the thenable module.
This is unlikely to be an intended effect.
And the eventual resolution is unlikely to be an intended effect.

Consider `thenable.js`:

Expand All @@ -442,7 +442,7 @@ export function then(resolve) {
}
```

This might be dynamically imported by a neighboring module.
A neighboring module might dynamically import this.

```js
import('./thenable.js').then((x) => {
Expand Down

0 comments on commit 309eac1

Please sign in to comment.