JavaScript Error code Interpretation Encyclopedia

Source: Internet
Author: User
Tags array array length character set constant error code expression regular expression requires
Javascript| Error

JScript run-time Error

A JScript Run-time error is an error that occurs when a JScript script attempts to perform an action that the system cannot run. When you are running a script, evaluating a variable expression, or you are dynamically allocating memory, a JScript run-time error occurs.

Error number Description
5029 array length must be a finite positive integer
5030 must be assigned to the array length a finite number of positive
5028 need Array or arguments object
5010 Need Boolean
5003 cannot assign value to function return value
5000 cannot assign a value to ' this '
5006 requires Date object
5015 Need Enumerator Object
5022 exception thrown, but unable to catch
5020 missing ")" in regular expression
5019 missing "]" in regular expression
5023 function does not have a valid Prototype object
5002 Function Object Required
5008 Illegal Assignment
5021 Character Set range is invalid
5014 requires a JScript object
5001 Number Type Required
5007 requires Object type
5012 required members of the object
5016 Regular Expression objects are required
5005 requires String
5017 regular-expression syntax errors
5026 the number of digits in the decimal section is out of bounds
5027 Precision Crossing
5025 Invalid URI encoding to decode
5024 the URI to be decoded contains illegal characters
5009 undefined identifier
5018 Unexpected Qualifiers
5013 Need VBArray

  JScript syntax error

JScript syntax errors are errors that result when a JScript statement violates one or more of the syntax rules of a JScript scripting language. A JScript syntax error occurs during the compile phase of the program before the program starts running.

Error number Description
1019 cannot have "break" outside the loop
1020 cannot have "continue" outside the circulation
1030-piece compilation is turned off
There can be only one "default" in 10,271 "switch" statements
1005 Need "("
1006 need ")"
1012 Need "/"
1003 need ":"
1004 need ";"
1032 needs "@"
1029 need "@end"
1007 Need "]"
1008 need "{"
1009 "}" required
1011 Need "="
1033 need "catch"
1031 need constant
1023 hexadecimal number required
1010 Identifier Required
1028 requires an identifier, string, or number
1024 need "while"
1014 Illegal characters
1026 No Label found
1025 Label Definition Duplicate
1018 function has ' return ' statement outside
1002 Syntax Errors
1035 "Throw" must be followed by an expression, and on the same source line
1016 Note not finished
1015 string constant does not end



Related Article

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.