avoid v8 quirks in ufuzz (#5458)

This commit is contained in:
Alex Lam S.L
2022-05-19 17:00:24 +01:00
committed by GitHub
parent 27aa85f84b
commit 01f1e3fef8
2 changed files with 7 additions and 9 deletions

View File

@@ -1331,10 +1331,8 @@ To allow for better optimizations, the compiler makes various assumptions:
- Later versions of JavaScript will throw `SyntaxError` with the following:
```javascript
var await;
async function f() {
class A {
static p = await;
}
class A {
static p = await;
}
// SyntaxError: Unexpected reserved word
```