Source code
Revision control
Copy as Markdown
Other Tools
// |reftest| error:SyntaxError module
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-reserved-words
es6id: 11.6.2
description: The `await` token is not permitted as an identifier in module code
flags: [module]
negative:
phase: parse
type: SyntaxError
---*/
$DONOTEVALUATE();
var await;