summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Set/prototype/difference/difference.js
blob: a68a3313b5d10b4feb05769e09a2d1aa6e8539da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// |reftest| skip -- set-methods is not supported
// Copyright (C) 2023 Anthony Frehner and Kevin Gibbons. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-set.prototype.difference
description: Set.prototype.difference properties
includes: [propertyHelper.js]
features: [set-methods]
---*/

assert.sameValue(
  typeof Set.prototype.difference,
  "function",
  "`typeof Set.prototype.difference` is `'function'`"
);

verifyProperty(Set.prototype, "difference", {
  enumerable: false,
  writable: true,
  configurable: true,
});

reportCompare(0, 0);