blob: 6e09bd7231eceb4f7cd79127125e6256bc86865f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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-map-constructor
description: Map.prototype.constructor value and descriptor
info: |
The initial value of Map.prototype.constructor is the intrinsic object %Map%.
includes: [propertyHelper.js]
---*/
assert.sameValue(Map.prototype.constructor, Map);
assert.sameValue((new Map()).constructor, Map);
verifyNotEnumerable(Map.prototype, 'constructor');
verifyWritable(Map.prototype, 'constructor');
verifyConfigurable(Map.prototype, 'constructor');
reportCompare(0, 0);
|