Closed Bug 1500470 Opened 6 years ago Closed 4 years ago

Template literals page: more details needed describing how tags work

Categories

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

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: sheppy, Unassigned)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

The description of tagged literals is not adequate. What are the parameters to the tag function actually for? An explanation of how to reproduce the default behavior of template literals would be helpful. Is it done by alternating between the string array's values and keys, like string[0] + key1 + string[1] + key2...? If so, we should clearly say that, probably with a little example specifically and clearly showing that.
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: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.