JS error code explanation

Source: Internet
Author: User
Tags character set constant regular expression
Error during JScript running
A JScript running error occurs when the JScript tries to execute an action that cannot be run by the system. When a JScript runtime error occurs when the script is running, the variable expression is calculated, or the memory is dynamically allocated.
Error Code description
The length of an array of 5029 must be a finite positive integer.
5030 the length of the array must be assigned a finite positive number.
5028 Array or arguments object
5010 Boolean
5003 you cannot assign values to function return values.
5000 you cannot assign a value to 'eas '.
5006 Date object required
5015 need Enumerator object
5022 exception thrown, but cannot catch
5020 ")" is missing in the regular expression
5019 "]" is missing in the regular expression
5023 the function does not have a valid Prototype object
5002 Function objects required
5008 invalid value assignment
5021 invalid character set range
5014 JScript object required
5001 Number type required
5007 Object type required
5012 members of the object
5016 regular expression objects
5005 String required
5017 the regular expression syntax is incorrect.
5026 decimal digits out of bounds
5027 accuracy out of bounds
5025 the URI code to be decoded is invalid.
5024 the URI to be decoded contains invalid characters
5009 undefined identifier
5018 unanticipated qualifier
5013 VBArray required

JScript syntax error
A JScript syntax error occurs when a JScript statement violates one or more syntax rules of the JScript language. A JScript syntax error occurs in the compilation phase of the program. Before running the program.
Error Code description
1019 there cannot be "break" outside the loop"
1020 "continue" is not allowed out of the loop"
1030 conditional compilation disabled
1027 one "switch" statement can have only one "default"
1005 "(" required
1006 ")" required
1012 "/" required
1003 ":" is required
1004 ";"
1032 @
1029 @ end is required"
1007 "]" required
1008 "{" required
1009 "}" required
1011 "=" required"
1033 "catch" is required"
1031 requires constant
1023 hexadecimal number required
1010 identifier required
1028 identifier, string, or number required
1024 "while" is required"
1014 invalid characters
1026 no tag found
1025 duplicate tag definitions
1018 the function has a 'Return 'statement.
1002 syntax error
1035 "Throw" must be followed by an expression on the same source code line.
1016 comments not ended
1015 string constant not ended

Related Article

E-Commerce Solutions

Leverage the same tools powering the Alibaba Ecosystem

Learn more >

Apsara Conference 2019

The Rise of Data Intelligence, September 25th - 27th, Hangzhou, China

Learn more >

Alibaba Cloud Free Trial

Learn and experience the power of Alibaba Cloud with a free trial worth $300-1200 USD

Learn more >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.