Debian Codegraph @

tests/auto/qml/ecmascripttests/test262/test/language/expressions/await/await-in-function.js

raw
1 // Copyright 2016 Microsoft, Inc. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 author: Brian Terlson <[email protected]>
6 esid: pending
7 description: >
8 Await is an identifier in a function
9 ---*/
10
11 function foo(await) { return await; }
12 assert.sameValue(foo(1), 1);