Closed
Bug 1322844
Opened 8 years ago
Closed 4 years ago
Tagged template literals example does not illustrate point being made
Categories
(Developer Documentation Graveyard :: JavaScript, defect, P5)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ja4161, Unassigned)
References
()
Details
:: Developer Documentation Request
Request Type: Correction
Gecko Version: unspecified
Technical Contact:
:: Details
In the "Tagged template literals" section of this page, the second example is said to show that "Tag functions don't need to return a string", but the example that follows shows a self executing function that does in fact return a string. This seems to indicate that tagged template literals do, in fact, need to return a string. If this is not the case, a better example is needed.
Comment 1•4 years ago
|
||
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: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•