summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js')
-rw-r--r--js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js20
1 files changed, 20 insertions, 0 deletions
diff --git a/js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js b/js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js
new file mode 100644
index 0000000000..a6c1ec8d7c
--- /dev/null
+++ b/js/src/tests/test262/built-ins/Map/properties-of-the-map-prototype-object.js
@@ -0,0 +1,20 @@
+// 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
+description: >
+ The prototype of Map.prototype is Object.prototype.
+info: |
+ The Map prototype object is the intrinsic object %MapPrototype%. The value
+ of the [[Prototype]] internal slot of the Map prototype object is the
+ intrinsic object %ObjectPrototype% (19.1.3). The Map prototype object is an
+ ordinary object. It does not have a [[MapData]] internal slot.
+---*/
+
+assert.sameValue(
+ Object.getPrototypeOf(Map.prototype),
+ Object.prototype,
+ 'Object.getPrototypeOf(Map.prototype) returns Object.prototype'
+);
+
+reportCompare(0, 0);