Strings
suggest changeSyntax
“string literal”
‘string literal’
“string literal with ‘mismatching quotes’”
// no errors; quotes are different.“string literal with”escaped quotes"”
// no errors; quotes are escaped.template string ${expression}
String(“a b c”)
// returns string when called in non-constructor contextnew String(“a b c”)
// the String object, not the string primitive
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents