-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the problem
In rare cases you might need to put a string literal inside curlies, e.g. to represent a { character itself (yes, you can do it with HTML entities but {'{'} is easier) or for finer control over whitespace:
This results in unnecessarily complicated output.
Describe the proposed solution
-$.text_effect(node_1, () => `${$.stringify($.unwrap(thing))},${$.stringify(' ')}`);
+$.text_effect(node_1, () => `${$.stringify($.unwrap(thing))}, `);Alternatives considered
N/A
Importance
nice to have
Metadata
Metadata
Assignees
Labels
No labels