You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<!--### InternalError: too many closure variables-->
48
60
49
-
### InternalError: invalid digit
61
+
<!--### InternalError: invalid digit-->
50
62
51
-
### InternalError: out of memory in regexp execution
63
+
<!--### InternalError: out of memory in regexp execution-->
52
64
53
65
### RangeError: invalid array length
66
+
54
67
- Occurs when specifying an array length that is either negative, a floating number or exceeds the maximum supported by the platform. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length)
55
68
56
-
### RangeError: invalid array index
69
+
<!--### RangeError: invalid array index-->
57
70
58
71
### RangeError: radix must be between 2 and 36
59
72
60
-
### RangeError: invalid number of digits
61
-
62
-
### RangeError: invalid code point
63
-
64
-
### RangeError: invalid repeat count
65
-
66
-
### RangeError: bad normalization form
67
-
68
-
### RangeError: Date value is NaN
69
-
70
-
### RangeError: invalid array buffer length
71
-
72
-
### RangeError: invalid offset
73
-
74
-
### RangeError: invalid length
75
-
76
-
### RangeError: invalid byteOffset
77
-
78
-
### RangeError: invalid byteLength
79
-
80
-
### RangeError: out of bound
73
+
- This occurs when the optional radix parameter of the `Number.prototype.toString()` method was specified and is not between 2 and 36. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Bad_radix)
81
74
82
-
### ReferenceError: unsupported reference to 'super### ReferenceError: 'this' can be initialized only once
75
+
<!--### RangeError: invalid number of digits -->
83
76
84
-
### SyntaxError: unparenthesized unary expression can't appear on the left-hand side of ### SyntaxError: invalid regular expression flags
77
+
<!--### RangeError: invalid code point -->
85
78
86
-
### TypeError: unsupported operation
79
+
<!--### RangeError: invalid repeat count -->
87
80
88
-
### TypeError: invalid object type
89
-
90
-
### TypeError: not an object
91
-
92
-
### TypeError: not a symbol
93
-
94
-
### TypeError: object is not extensible
95
-
96
-
### TypeError: circular prototype chain
97
-
98
-
### TypeError: operand 'prototype' property is not an object
99
-
100
-
### TypeError: invalid 'instanceof' right operand
101
-
102
-
### TypeError: expecting \<brand> private field
103
-
104
-
### TypeError: invalid brand on object
105
-
106
-
### TypeError: no setter for property
107
-
108
-
### TypeError: could not delete property
109
-
110
-
### TypeError: toPrimitive
81
+
<!-- ### RangeError: bad normalization form -->
111
82
112
-
### TypeError: cannot convert symbol to number
113
-
114
-
### TypeError: cannot convert symbol to string
115
-
116
-
### TypeError: null or undefined are forbidden
117
-
118
-
### TypeError: invalid 'in' operand
119
-
120
-
### TypeError: invalid property access
121
-
122
-
### TypeError: value is not iterable
83
+
### RangeError: Date value is NaN
123
84
124
-
### TypeError: iterator must return an object
85
+
- This exception occurs when the Date object contains an invalid date. [**Source**](https://stackoverflow.com/a/54462335)
125
86
126
-
### TypeError: parent class must be constructor
87
+
```js
88
+
newDate('undefined').toISOString()
89
+
```
127
90
128
-
### TypeError: parent prototype must be an object or null
91
+
<!--### RangeError: invalid offset -->
129
92
130
-
### TypeError: must be called with new
93
+
<!--### RangeError: invalid length -->
131
94
132
-
### TypeError: not a function
95
+
<!--### RangeError: invalid byteOffset -->
133
96
134
-
### TypeError: derived class constructor must return an object or undefined
97
+
<!--### RangeError: invalid byteLength -->
135
98
136
-
### TypeError: class constructors must be invoked with 'new### TypeError: iterator does not have a throw method
99
+
<!--### RangeError: out of bound -->
137
100
138
-
### TypeError: value has no property
101
+
<!--### ReferenceError: unsupported reference to 'super' -->
139
102
140
-
### TypeError: not a constructor
103
+
<!--### ReferenceError: 'this' can be initialized only once -->
141
104
142
-
### TypeError: not a generator
105
+
<!--### SyntaxError: unparenthesized unary expression can't appear on the left-hand side of 'any' -->
143
106
144
-
### TypeError: cannot invoke a running generator
107
+
### SyntaxError: invalid regular expression flags
145
108
146
-
### TypeError: not an AsyncGenerator object
109
+
- Occurs when the flags in a regular expression contain any flag.
110
+
- Click [**here**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Bad_regexp_flag) for more infomation.
147
111
148
-
### TypeError: import.meta not supported in this context
112
+
<!--### TypeError: unsupported operation -->
149
113
150
-
### TypeError: no function filename for import### TypeError: bytecode function expected
114
+
### TypeError: invalid object type
151
115
152
-
### TypeError: eval is not supported
116
+
<!--### TypeError: not an object -->
153
117
154
-
### TypeError: circular reference
118
+
<!--### TypeError: not a symbol -->
155
119
156
-
### TypeError: cannot convert to object
120
+
<!--### TypeError: object is not extensible -->
157
121
158
-
### TypeError: invalid getter
122
+
<!--### TypeError: circular prototype chain -->
159
123
160
-
### TypeError: invalid setter
124
+
<!--### TypeError: operand 'prototype' property is not an object -->
161
125
162
-
### TypeError: cannot have setter/getter and value or writable
126
+
<!--### TypeError: invalid 'instanceof' right operand -->
163
127
164
-
### TypeError: not a prototype
128
+
<!--### TypeError: expecting \<brand> private field -->
165
129
166
-
### TypeError: proxy preventExtensions handler returned false
130
+
<!--### TypeError: invalid brand on object -->
167
131
168
-
### TypeError: not a object
132
+
### TypeError: no setter for property
169
133
170
-
### TypeError: Array loo long
134
+
- This occurs when trying to set a new value to a property, for which only a getter is defined.
135
+
- This is common when attempting to set property on native objects from native modules.
171
136
172
-
### TypeError: empty array
137
+
### TypeError: could not delete property
173
138
174
-
### TypeError: Array too long
139
+
- Click [**here**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Non_configurable_array_element) for more infomation.
175
140
176
-
### TypeError: not a number
141
+
### TypeError: toPrimitive
177
142
178
-
### TypeError: not a boolean
143
+
- Click [**here**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol/toPrimitive) for more infomation.
- You must use `new` to create an instance of a user-defined object type or of one of the built-in object types that has a constructor function. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new)
211
180
212
-
### TypeError: proxy: defineProperty exception
181
+
### TypeError: not a function
213
182
214
-
### TypeError: proxy: inconsistent defineProperty
183
+
- This occurs when there was an attempt to call a value from a function, but the value is not actually a function. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_a_function)
215
184
216
-
### TypeError: proxy: inconsistent deleteProperty
185
+
<!--### TypeError: derived class constructor must return an object or undefined -->
217
186
218
-
### TypeError: proxy: properties must be strings or symbols
187
+
### TypeError: class constructors must be invoked with 'new'
219
188
220
-
### TypeError: proxy: duplicate property
189
+
- You must use `new` to create an instance of a user-defined object type or of one of the built-in object types that has a constructor function. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/new)
221
190
222
-
### TypeError: proxy: target property must be present in proxy ownKeys
191
+
<!--### TypeError: iterator does not have a throw method -->
223
192
224
-
### TypeError: proxy: property not present in target were returned by non extensible proxy
193
+
### TypeError: value has no property
225
194
226
-
### TypeError: set/add is not a function
195
+
- This occurs when you attempt to access properties of `null` and `undefined`. They don't have any. [**Source**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/No_properties)
227
196
228
-
### TypeError: promise self resolution
197
+
### TypeError: not a constructor
229
198
230
-
### TypeError: resolving function already set
199
+
- The value is not a class.
200
+
- Read [**here**](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_a_constructor) for more infomation.
231
201
232
-
### TypeError: not an Async-from-Sync Iterator
202
+
<!--### TypeError: not a generator -->
233
203
234
-
### TypeError: not a Date object
204
+
<!--### TypeError: cannot invoke a running generator -->
235
205
236
-
### TypeError: invalid hint
206
+
<!--### TypeError: not an AsyncGenerator object -->
237
207
238
-
### TypeError: object needs toISOString method
208
+
<!--### TypeError: import.meta not supported in this context -->
239
209
240
-
### TypeError: ArrayBuffer is detached
210
+
<!--### TypeError: no function filename for import -->
241
211
242
-
### TypeError: cannot use identical ArrayBuffer
212
+
<!--### TypeError: bytecode function expected -->
243
213
244
-
### TypeError: new ArrayBuffer is too small
214
+
<!--### TypeError: eval is not supported -->
245
215
246
-
### TypeError: TypedArray length is too small
216
+
### TypeError: circular reference
247
217
248
-
### TypeError: cannot be called
218
+
- This occurs when object references to itself in a property. `JSON.stringify()` doesn't try to solve them and fails accordingly.
249
219
250
-
### URIError: expecting %%
220
+
<!--### TypeError: cannot convert to object -->
251
221
252
-
### URIError: expecting hex digit
222
+
<!--### TypeError: invalid getter
253
223
254
-
### URIError: malformed UTF-8
224
+
### TypeError: invalid setter -->
255
225
256
-
### URIError: invalid character
226
+
---
257
227
258
-
### URIError: expecting surrogate pair
228
+
If you can't find the errors you want, put it in a search engine.
0 commit comments