summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/Locale/function-prototype.js
blob: 6127b8d129fa0e59aeef5ad33bb3dc576f214677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);