blob: 3b2933f7971c3a7aa34e8d4fb3acd3cfd6adb370 [file] [log] [blame]
// Copyright (C) 2015 André Bargull. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-dataview.prototype.getint8
description: >
DataView.prototype.getInt8.name is "getInt8".
info: |
DataView.prototype.getInt8 ( byteOffset )
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value
is a String.
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
includes: [propertyHelper.js]
---*/
assert.sameValue(DataView.prototype.getInt8.name, "getInt8");
verifyNotEnumerable(DataView.prototype.getInt8, "name");
verifyNotWritable(DataView.prototype.getInt8, "name");
verifyConfigurable(DataView.prototype.getInt8, "name");