summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Locale/function-prototype.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/tests/test262/intl402/Locale/function-prototype.js')
-rw-r--r--js/src/tests/test262/intl402/Locale/function-prototype.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/tests/test262/intl402/Locale/function-prototype.js b/js/src/tests/test262/intl402/Locale/function-prototype.js
new file mode 100644
index 0000000000..6127b8d129
--- /dev/null
+++ b/js/src/tests/test262/intl402/Locale/function-prototype.js
@@ -0,0 +1,18 @@
+// Copyright 2018 Rick Waldron. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+
+/*---
+esid: sec-intl.locale
+description: >
+ The value of the [[Prototype]] internal slot of the Intl.Locale constructor is the
+ intrinsic object %FunctionPrototype%.
+features: [Intl.Locale]
+---*/
+
+assert.sameValue(
+ Object.getPrototypeOf(Intl.Locale),
+ Function.prototype,
+ "Object.getPrototypeOf(Intl.Locale) equals the value of Function.prototype"
+);
+
+reportCompare(0, 0);