summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/prototype/includes/prop-desc.js
blob: 4dcd03d64cd79c9a11c843f032851b7d295585b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |reftest| skip-if(!this.hasOwnProperty("Tuple"))
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
description: >
  "includes" property of Tuple.prototype
---*/

var desc = Object.getOwnPropertyDescriptor(Tuple.prototype, "includes");
assertEq(desc.writable, true);
assertEq(desc.enumerable, false);
assertEq(desc.configurable, true);

reportCompare(0, 0);