5_handling_text
dz / mdn / js / 0_javascript_first_steps / 5_handling_textSummary
Handling Text: Strings in Javascript
Node Tree
Nodes
strings | |
content | strings |
children | multiline_strings, template_literal, concatentation |
template_literal | |
content | Template literal: string with backticks (`) |
children | can_embed_js |
parents | strings |
can_embed_js | |
content | Can embed_js using ${} |
children | declared_multiline |
parents | template_literal |
declared_multiline | |
content | Can be declared over multiple lines |
parents | can_embed_js |
concatentation | |
content | Concatentation with normal strings can be done with "+" |
parents | strings |
multiline_strings | |
content | multiline strings |
parents | strings |