blob: 884fb05c74b8939b6e9b5415860ffe96b1a51dc9 [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.getint32
description: >
DataView.prototype.getInt32.name is "getInt32".
info: |
DataView.prototype.getInt32 ( byteOffset [ , littleEndian ] )
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.getInt32.name, "getInt32");
verifyNotEnumerable(DataView.prototype.getInt32, "name");
verifyNotWritable(DataView.prototype.getInt32, "name");
verifyConfigurable(DataView.prototype.getInt32, "name");