summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/intl402/DateTimeFormat/prototype/formatToParts/formatToParts.js
blob: a0045ba71cfd745cfd3a0334aa7718272d5bbf1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2016 Mozilla Corporation. All rights reserved.
// This code is governed by the license found in the LICENSE file.

/*---
description: Property type and descriptor. 
includes: [propertyHelper.js]
---*/

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

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

reportCompare(0, 0);