Open Bug 1500472 Opened 10 months ago Updated 10 months ago
Template literals: formatting output?
It would be helpful if the template literals page could provide some tips to formatting the strings generated using template literals. Things like ensuring that the same number of characters is inserted in a slot regardless of the length of the slot's expression (to allow column formatting), controlling numeric layout (decimal places, decimal/hexadecimal output, etc), and so on.
You need to log in before you can comment on or make changes to this bug.