JS1107: Expecting more source characters

A line of code ends before an expression is closed. This error will occur if you are required to have both the start and end of an expression on the same line and you have split the line into two or more lines.

To correct this error

  • Provide the matching end for the expression on the same line as it starts.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference