Closed alexzhang1030 closed 6 months ago
Do we consider doing 'a' + b + 'c'
to `a${b}c`
and vice-versa?
Do we consider doing
'a' + b + 'c'
to`a${b}c`
and vice-versa?
ohhhh, nice one! I will try
Do we consider doing
'a' + b + 'c'
to`a${b}c`
and vice-versa?
This is implemented now, but do we need to support sub-expressions? E.g. ${a + b}
-> '' + a + b + ''
, it might be a little complex...
Description
Introducing two new commands:
to-string-literal
andto-template-literal
to interconvert between template literal and string literal.Linked Issues
closes #1
Additional context