test262/test/built-ins/Symbol/asyncDispose/prop-desc.js

20 lines
599 B
JavaScript

// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-symbol.asyncdispose
description: >
`Symbol.asyncDispose` property descriptor
info: |
This property has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: false }.
includes: [propertyHelper.js]
features: [explicit-resource-management]
---*/
assert.sameValue(typeof Symbol.asyncDispose, 'symbol');
verifyProperty(Symbol, 'asyncDispose', {
writable: false,
enumerable: false,
configurable: false,
});