test262/test/built-ins/Map/name.js

19 lines
492 B
JavaScript
Raw Normal View History

2015-06-25 21:06:04 +02:00
// 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-iterable
2015-06-25 21:06:04 +02:00
description: Map.name value and descriptor.
info: |
2015-06-25 21:06:04 +02:00
Map ( [ iterable ] )
17 ECMAScript Standard Built-in Objects
includes: [propertyHelper.js]
---*/
assert.sameValue(Map.name, 'Map', 'The value of Map.name is "Map"');
verifyNotEnumerable(Map, 'name');
verifyNotWritable(Map, 'name');
verifyConfigurable(Map, 'name');