blob: 58655987d0cd69751a1bbe801cb31680a1563ac7 [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-date.prototype.tolocaletimestring
description: >
Date.prototype.toLocaleTimeString.name is "toLocaleTimeString".
info: |
Date.prototype.toLocaleTimeString ( [ reserved1 [ , reserved2 ] ] )
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(Date.prototype.toLocaleTimeString.name, "toLocaleTimeString");
verifyNotEnumerable(Date.prototype.toLocaleTimeString, "name");
verifyNotWritable(Date.prototype.toLocaleTimeString, "name");
verifyConfigurable(Date.prototype.toLocaleTimeString, "name");