summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/NumberFormat/prototype/formatRange/prop-desc.js
blob: a0348dc44657fbc762be17cc6a8e58092a8ae7d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright (C) 2021 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
description: Property type and descriptor.
includes: [propertyHelper.js]
features: [Intl.NumberFormat-v3]
---*/

assert.sameValue(
  typeof Intl.NumberFormat.prototype.formatRange,
  'function',
  '`typeof Intl.NumberFormat.prototype.formatRange` is `function`'
);

verifyProperty(Intl.NumberFormat.prototype, 'formatRange', {
  enumerable: false,
  writable: true,
  configurable: true,
});

reportCompare(0, 0);