JS1015: Unterminated string constant

A string constant is missing a closing quotation mark. String constants must be enclosed within a pair of quotation marks.

Note

You can use matching pairs of single or double quotation marks. Double quotation marks can be contained within strings surrounded by single quotation marks, and single quotation marks can be contained within strings surrounded by double quotation marks.

To correct this error

  • Add the closing quotation mark to the end of the string.

See Also

Reference

String Object

toString Method