blob: 37aceefc608e28b606e5e8716a2e96295b6b108e [file] [log] [blame]
// 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-weakmap.prototype.has
description: >
WeakMap.prototype.has.name value and writability.
info: |
WeakMap.prototype.has ( value )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
---*/
assert.sameValue(
WeakMap.prototype.has.name, 'has',
'The value of WeakMap.prototype.has.name is "has"'
);
verifyNotEnumerable(WeakMap.prototype.has, 'name');
verifyNotWritable(WeakMap.prototype.has, 'name');
verifyConfigurable(WeakMap.prototype.has, 'name');