AI

Strings can be tricky when they contain quotes. Backticks make it easier.

Your Task:

  • Create message using normal quotes: "She said, \"I can't do this!\" and walked away." (use escaping)
  • Create cleanMessage using backticks: `She said, "I can't do this!" and walked away.` (no escaping)
TypeScript Solution
Loading...

Submit your code to see test results