We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 348fd9e commit f768c6bCopy full SHA for f768c6b
1 file changed
js-quirks.md
@@ -360,10 +360,11 @@ to make it a little less confusing.)
360
Amazingly, both of the following are valid JS code:
361
362
```js
363
- for (async of => {};;) {}
+ for (using of = resource;;) {}
364
+ for (using of []) {}
365
```
366
- In the first line, `async` is a keyword and `of` is an identifier;
367
+ In the first line, `using` is a keyword and `of` is an identifier;
368
in the second line it's the other way round.
369
370
Even a simplified JS grammar can't be LR(1) as long as it includes
0 commit comments