Content deleted Content added
case fix |
→String: As of the current date, the portion that I removed is no longer accurate, and I'm citing the same source on today's date as was previously cited in 2018. |
||
Line 311:
=== String ===
A [[String (computer science)|string]] in JavaScript is a sequence of characters. In JavaScript, strings can be created directly (as literals) by placing the series of characters between double (") or single (') quotes. Such strings must be written on a single line, but may include escaped newline characters (such as \n). The JavaScript standard allows the [[Grave accent#Use in programming|backquote]] character (`, a.k.a. grave accent or backtick) to quote multiline literal strings
<syntaxhighlight lang="javascript">
|