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

18 lines
596 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.dispose
description: >
`Symbol.dispose` 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.dispose, 'symbol');
verifyNotEnumerable(Symbol, 'dispose');
verifyNotWritable(Symbol, 'dispose');
verifyNotConfigurable(Symbol, 'dispose');