summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/built-ins/DataView/name.js
blob: 2b1e1c74bd21479e5f094be4bc86990c117fc819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
esid: sec-dataview-constructor
description: >
  The name property of DataView is "DataView"
includes: [propertyHelper.js]
---*/

assert.sameValue(DataView.name, "DataView", "The value of `DataView.name` is `'DataView'`");

verifyNotEnumerable(DataView, "name");
verifyNotWritable(DataView, "name");
verifyConfigurable(DataView, "name");

reportCompare(0, 0);