1 // Copyright 2016 Microsoft, Inc. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 author: Brian Terlson <brian.terlson@microsoft.com>
6 esid: sec-async-function-instances-name
7 description: Async function declarations have a name property
8 includes: [propertyHelper.js]
11 async function foo() {};
13 assert.sameValue(foo.name, "foo");
14 verifyNotWritable(foo, "name");
15 verifyNotEnumerable(foo, "name");
16 verifyConfigurable(foo, "name");