Scripting errors for JavaScript

Source: Internet
Author: User

JavaScript runtime errors are errors that result when a JavaScript script attempts to perform an action that the system cannot run. When a JavaScript run-time error occurs when a script is running, a variable expression is evaluated, or memory is being dynamically allocated. JavaScript syntax errors are errors that result when a JavaScript statement violates one or more grammar rules of the JavaScript scripting language. JavaScript syntax errors occur during the program compilation phase before you start running the program.

Error number Description

5029 array length must be a finite positive integer

5030 must be assigned a finite positive number for the length of the array

5028 requires an Array or arguments object

5010 Need booleanhttp://www.hrbfkyy120.com

5003 cannot assign a value to a function return value

5000 cannot assign value to ' this '

5006 requires a Date object

5015 Enumerator objects Required

5022 exception thrown, but unable to catch

5020 missing ")" in regular expressions

5019 missing "]" in regular expressions

5023 function does not have a valid Prototype object

5002 require Function object

5008 illegally assigned values

5021 Invalid character Set range

5014 JScript objects are required

5001 requires number type

5007 Object type Required

5012 members that require an object

5016 A regular Expression object is required

5005 requires String

5017 Regular Expression syntax error

5026 number of decimal digits out of bounds

5027 accuracy out of bounds

5025 URI encoding to decode is illegal

5024 URI to be decoded contains illegal characters

5009 undefined identifier

5018 Non-expected qualifiers

5013 Need VBArray

JavaScript syntax errors are errors that result when a JScript statement violates one or more syntax rules for a JScript scripting language. JScript syntax errors occur during the program compilation phase before you begin running the program.

Error number Description

1019 cannot have a "break" outside the loop

1020 cannot have "continue" outside the loop

1030 the compilation of a piece is turned off

There can be only one "default" in 10,271 "switch" statements

1005 Required "("

1006 Required ")"

1012 Required "/"

1003 need ":"

1004 need ";"

1032 requires "@"

1029 requires "@end"

1007 Need "]"

1008 requires "{"

1009 "}" required

1011 "=" required

1033 "Catch" required

1031 constant Required

1023 hexadecimal number required

1010 Identifiers Required

1028 requires identifiers, strings, or numbers

1024 requires "while"

1014 Illegal characters

1026 No Labels found

1025 Label Definition Repeat

1018 ' return ' statement outside the function

1002 Syntax error http://www.mlybyby.com

1035 "Throw" must be followed by an expression, and on the same source code line

1016 Comment Not closed

1015 string constant does not end

Scripting errors for JavaScript

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.