Template string, can contain multiline content
WHEN a new line is inside the backticks ` THEN the string can span across many lines
GIVEN expressions inside of a template string
WHEN a simple variable is on the third line THEN it is also evaluated
AND spaces matter
Links
Description of multiline template strings.
Required Knowledge
- basics (Template strings)
Related Katas
Template strings
- basics
- multiline
- tagged template strings
rawproperty
String API
string.includes()string.repeat(count)string.startsWith()string.endsWith()String.rawstring.trimStart()string.matchAll()
Difficulty Level
BEGINNER
First Published
16 March 2015
Stats
3 tests to solve