Parsing embedded expressions in strings #10
-
ProblemMash defines embedded expressions in strings, in the format Proposed Solutions
Propositions for other solutions are welcome. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
From a personal perspective, the 1st proposed solution seems to be the correct way. |
Beta Was this translation helpful? Give feedback.
-
Consensus is switching to new syntax which is easier to lex:
|
Beta Was this translation helpful? Give feedback.
Consensus is switching to new syntax which is easier to lex:
Expression
will not contain any}
characters which may interfere with properly lexing the template literal.