summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DurationFormat/prototype/format/prop-desc.js
blob: ebb842ae8309630797657a5121df5ba9bbc6086b (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.format
description: Property descriptor of Intl.DurationFormat.prototype.format
includes: [propertyHelper.js]
features: [Intl.DurationFormat]
---*/

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

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

reportCompare(0, 0);