| constructor.js |
---
es6id: 19.5.6.1
description: >
SyntaxError is a constructor function.
--- |
302 |
- |
| instance-proto.js |
---
es6id: 19.5.6.4
description: >
The prototype of SyntaxError instances is SyntaxError.prototype.
info: |
NativeError instances are ordinary objects that inherit properties
from their NativeError prototype object and have an [[ErrorData]]
internal slot whose value is undefined
--- |
509 |
- |
| is-error-object.js |
---
es6id: 19.5.6.4
description: >
SyntaxError instances have an [[ErrorData]] internal slot.
info: |
NativeError instances are ordinary objects that inherit properties
from their NativeError prototype object and have an [[ErrorData]]
internal slot whose value is undefined
--- |
507 |
- |
| length.js |
---
es6id: 19.5.6.2
description: >
SyntaxError.length is 1.
info: |
NativeError ( message )
19.5.6.2 Properties of the NativeError Constructors
Besides the length property (whose value is 1) [...].
17 ECMAScript Standard Built-in Objects:
Every built-in Function object, including constructors, has a length
property whose value is an integer. Unless otherwise specified, this
value is equal to the largest number of named arguments shown in the
subclause headings for the function description, including optional
parameters. However, rest parameters shown using the form “...name”
are not included in the default argument count.
Unless otherwise specified, the length property of a built-in Function
object has the attributes { [[Writable]]: false, [[Enumerable]]: false,
[[Configurable]]: true }.
includes: [propertyHelper.js]
--- |
1195 |
- |
| name.js |
---
es6id: 19.5.6.1
description: >
SyntaxError.name is "SyntaxError".
info: |
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]
--- |
824 |
- |
| proto.js |
---
es6id: 19.5.6.2
description: >
The prototype of SyntaxError is Error.
info: |
The value of the [[Prototype]] internal slot of a NativeError constructor is the intrinsic object %Error% (19.5.1).
--- |
403 |
- |
| prototype |
|
|
- |
| prototype.js |
---
es6id: 19.5.6.2.1
description: >
The initial value of SyntaxError.prototype is the SyntaxError prototype object.
info: |
The initial value of NativeError.prototype is a NativeError prototype object (19.5.6.3).
Each NativeError constructor has a distinct prototype object.
This property has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }.
includes: [propertyHelper.js]
--- |
783 |
- |