Closed Bug 1500472 Opened 7 years ago Closed 5 years ago

Template literals: formatting output?

Categories

(Developer Documentation Graveyard :: JavaScript, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

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
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.