Let's say we have the following template literal in ES6.
`'{"0": "It's Friday today"}'`
How do we escape the single quote in the word It's
Also, let's say we have the following template literal:
`'{"0": "Thursday\nFriday"}'`
How do we escape the \n
in the above.
1: Use a \
'{"0": "It\'s Friday today"}'
2: Again use \'{"0": "Thursday\\nFriday"}'