| 15.9.4.4-0-1.js |
---
esid: sec-date.now
description: Date.now must exist as a function
--- |
281 |
- |
| 15.9.4.4-0-2.js |
---
esid: sec-date.now
description: Date.now must exist as a function taking 0 parameters
--- |
292 |
- |
| 15.9.4.4-0-3.js |
---
esid: sec-date.now
description: Date.now must exist as a function
--- |
295 |
- |
| 15.9.4.4-0-4.js |
---
esid: sec-date.now
description: Date.now - returns number
--- |
275 |
- |
| name.js |
---
esid: sec-date.now
description: >
Date.now.name is "now".
info: |
Date.now ( )
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]
--- |
773 |
- |
| not-a-constructor.js |
---
esid: sec-ecmascript-standard-built-in-objects
description: >
Date.now does not implement [[Construct]], is not new-able
info: |
ECMAScript Function Objects
Built-in function objects that are not identified as constructors do not
implement the [[Construct]] internal method unless otherwise specified in
the description of a particular function.
sec-evaluatenew
...
7. If IsConstructor(constructor) is false, throw a TypeError exception.
...
includes: [isConstructor.js]
features: [Reflect.construct, arrow-function]
--- |
832 |
- |