Open Bug 1500472 Opened 10 months ago Updated 10 months ago

Template literals: formatting output?

Categories

(Developer Documentation :: JavaScript, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: sheppy, Unassigned)

References

()

Details

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.
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.