Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion js-quirks.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ to make it a little less confusing.)

```js
for (async of => {};;) {}
for (async of []) {}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous and the next paragraphs are talking about this code example, with "both", "first", and "second" words.
Also, this is used as an example of how LR(1) doesn't fit, where "async" and "of" become identifier or contextual-keyword depending on the following token. So, just removing the second line here doesn't work well.

So, for example these paragraphs should be replaced with some other examples that explains how LR(1) doesn't fit, or maybe just be removed if there's no other such.
Maybe something around for (using ... could be used.

```

In the first line, `async` is a keyword and `of` is an identifier;
Expand Down