Map.prototype.constructor

This commit is contained in:
Leonardo Balter 2015-06-26 16:38:56 -04:00
parent b1557df8ef
commit 66c08508ae
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
// Copyright (C) 2015 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 23.1.3.2
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');