summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/Set/prototype/intersection/length.js
blob: 132c53c6270fdd38cf6180bd203ca2b86f68a261 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// |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.intersection
description: Set.prototype.intersection length property
info: |
    Set.prototype.intersection ( other )
includes: [propertyHelper.js]
features: [set-methods]
---*/
assert.sameValue(typeof Set.prototype.intersection, "function");

verifyProperty(Set.prototype.intersection, "length", {
  enumerable: false,
  writable: false,
  configurable: true,
  value: 1,
});

reportCompare(0, 0);