Skip to content
Snippets Groups Projects
Commit 5006055c authored by Mike Pennisi's avatar Mike Pennisi
Browse files

Add tests for `await` as an identifier

parent a6dcd0dc
No related branches found
No related tags found
No related merge requests found
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
id: sec-reserved-words
es6id: 11.6.2
description: The `await` token is not permitted as an identifier in module code
flags: [module]
negative: SyntaxError
---*/
var await;
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
id: sec-reserved-words
es6id: 11.6.2
description: The `await` token is permitted as an identifier in script code
---*/
var await;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment