summaryrefslogtreecommitdiffstats
path: root/js/src/tests/non262/Tuple/prototype/includes/name.js
blob: df6537a3b406e9589623902f389aa58ce23d9fe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// |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: >
  Tuple.prototype.includes.name is "includes".
---*/

assertEq(Tuple.prototype.includes.name, "includes");
var desc = Object.getOwnPropertyDescriptor(Tuple.prototype.includes, "name");

assertEq(desc.writable, false);
assertEq(desc.enumerable, false);
assertEq(desc.configurable, true);

reportCompare(0, 0);