summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DurationFormat/prototype/formatToParts/prop-desc.js
blob: 3c32931386e7a9db15e01b2616d8828fa920a91e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// |reftest| skip -- Intl.DurationFormat is not supported
// Copyright (C) 2022 Igalia, S.L. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-Intl.DurationFormat.prototype.formatToParts
description: Property descriptor of Intl.DurationFormat.prototype.formatToParts
includes: [propertyHelper.js]
features: [Intl.DurationFormat]
---*/

assert.sameValue(
  typeof Intl.DurationFormat.prototype.formatToParts,
  'function',
  '`typeof Intl.DurationFormat.prototype.formatToParts` is `function`'
);

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

reportCompare(0, 0);