JavaScript ã¨ã©ã¼ãªãã¡ã¬ã³ã¹
以ä¸ã«ã JavaScript ã§çºçããã¨ã©ã¼ã®ãªã¹ããããã¾ãããããã®ã¨ã©ã¼ã¯ãããã°ã大ãã«å©ãã¦ããã¾ãããå ±åãããåé¡ããã¤ãç´ã¡ã«æå¿«ã¨ã¯éãã¾ããã以ä¸ã®ãã¼ã¸ã§ã¯ããããã®ã¨ã©ã¼ã«ã¤ãã¦è©³ãã説æãã¾ããã©ã®ã¨ã©ã¼ã Error ãªãã¸ã§ã¯ããåºç¤ã¨ãããªãã¸ã§ã¯ãã§ãããname 㨠message ãæãã¦ãã¾ãã
ã¦ã§ãã³ã³ã½ã¼ã«ã«è¡¨ç¤ºãããã¨ã©ã¼ã«ã¯ãã³ã¼ãã«ããåé¡ãéããã«çè§£ããã®ã«å½¹ç«ã¤ãé¢é£ãã¼ã¸ã¸ã®ãªã³ã¯ãå«ã¾ãã¦ãããã¨ãããã¾ãã
JavaScript ã®ã¨ã©ã¼ãä¿®æ£ããããã®åå¿è åãå°å ¥ç¨ãã¥ã¼ããªã¢ã«ã«ã¤ãã¦ã¯ãä½ãééã£ã¦ãã? JavaScript ã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ãåç §ãã¦ãã ããã
ã¨ã©ã¼ã®ãªã¹ã
ãã®ãªã¹ãã§ã¯ãåãã¼ã¸ãåå (ã¨ã©ã¼ã®ç¨®å¥) ã¨ã¡ãã»ã¼ã¸ (ãã詳細ã§èªè§£å¯è½ãªã¨ã©ã¼ã¡ãã»ã¼ã¸) ã«ãã£ã¦ãªã¹ãã¢ããããã¦ãã¾ããããã 2 ã¤ã®ããããã£ããã¨ã©ã¼ã®çè§£ã¨è§£æ±ºã®åºçºç¹ã¨ãªãã¾ãã詳細ã¯ã以ä¸ã®ãªã³ã¯ãåç §ãã¦ãã ããï¼
- AggregateError: No Promise in Promise.any was resolved
- Error: Permission denied to access property "x"
- InternalError: too much recursion
- RangeError: argument is not a valid code point
- RangeError: BigInt division by zero
- RangeError: BigInt negative exponent
- RangeError: form must be one of 'NFC', 'NFD', 'NFKC', or 'NFKD'
- RangeError: invalid array length
- RangeError: invalid date
- RangeError: precision is out of range
- RangeError: radix must be an integer
- RangeError: repeat count must be less than infinity
- RangeError: repeat count must be non-negative
- ReferenceError: "x" is not defined
- ReferenceError: assignment to undeclared variable "x"
- ReferenceError: can't access lexical declaration`X' before initialization
- ReferenceError: deprecated caller or arguments usage
- ReferenceError: must call super constructor before using 'this' in derived class constructor
- SyntaxError: "0"-prefixed octal literals and octal escape seq. are deprecated
- SyntaxError: "use strict" not allowed in function with non-simple parameters
- SyntaxError: "x" is a reserved identifier
- SyntaxError: a declaration in the head of a for-of loop can't have an initializer
- SyntaxError: applying the 'delete' operator to an unqualified name is deprecated
- SyntaxError: for-in loop head declarations may not have initializers
- SyntaxError: function statement requires a name
- SyntaxError: identifier starts immediately after numeric literal
- SyntaxError: illegal character
- SyntaxError: import declarations may only appear at top level of a module
- SyntaxError: invalid assignment left-hand side
- SyntaxError: invalid character in class in regular expression
- SyntaxError: invalid class set operation in regular expression
- SyntaxError: invalid regular expression flag "x"
- SyntaxError: JSON.parse: bad parsing
- SyntaxError: missing : after property id
- SyntaxError: missing ) after argument list
- SyntaxError: missing ) after condition
- SyntaxError: missing ] after element list
- SyntaxError: missing } after function body
- SyntaxError: missing } after property list
- SyntaxError: missing = in const declaration
- SyntaxError: missing formal parameter
- SyntaxError: missing name after . operator
- SyntaxError: missing variable name
- SyntaxError: octal escape sequences can't be used in untagged template literals or in strict mode code
- SyntaxError: redeclaration of formal parameter "x"
- SyntaxError: return not in function
- SyntaxError: Unexpected token
- SyntaxError: unterminated string literal
- SyntaxError: Using //@ to indicate sourceURL pragmas is deprecated. Use //# instead
- TypeError: 'x' is not iterable
- TypeError: "x" has no properties
- TypeError: "x" is (not) "y"
- TypeError: "x" is not a constructor
- TypeError: "x" is not a function
- TypeError: "x" is not a non-null object
- TypeError: "x" is read-only
- TypeError: can't assign to property "x" on "y": not an object
- TypeError: can't define property "x": "obj" is not extensible
- TypeError: can't delete non-configurable array element
- TypeError: can't redefine non-configurable property "x"
- TypeError: cannot use 'in' operator to search for 'x' in 'y'
- TypeError: cyclic object value
- TypeError: invalid 'instanceof' operand 'x'
- TypeError: invalid Array.prototype.sort argument
- TypeError: invalid assignment to const "x"
- TypeError: More arguments needed
- TypeError: property "x" is non-configurable and can't be deleted
- TypeError: Reduce of empty array with no initial value
- TypeError: setting getter-only property "x"
- TypeError: X.prototype.y called on incompatible type
- URIError: malformed URI sequence
- Warning: -file- is being assigned a //# sourceMappingURL, but already has one
- Warning: unreachable code after return statement