File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -242,6 +242,8 @@ String Interpolation
242
242
--------------------
243
243
244
244
Intuitive expression interpolation for single-line and multi-line strings.
245
+ (Notice: don't be confused, Template Literals were originally named
246
+ "Template Strings" in the drafts of the ECMAScript 6 language specification)
245
247
246
248
6| var customer = { name: "Foo" };
247
249
6| var card = { amount: 7, product: "Bar", unitprice: 42 };
Original file line number Diff line number Diff line change 531
531
</ div >
532
532
< div id ="StringInterpolation " class ="showcase showcase_StringInterpolation "> < div class ="title "> Template Literals</ div >
533
533
< div class ="subtitle "> String Interpolation</ div >
534
- < div class ="desc "> Intuitive expression interpolation for single-line and multi-line strings.</ div >
534
+ < div class ="desc "> Intuitive expression interpolation for single-line and multi-line strings.
535
+ (Notice: don't be confused, Template Literals were originally named
536
+ "Template Strings" in the drafts of the ECMAScript 6 language specification)</ div >
535
537
< div class ="js es6 ">
536
538
< div class ="title "> < b > ECMAScript 6</ b > — syntactic sugar: < span class ="style reduced "> reduced</ span > | < span class ="style traditional "> traditional</ span > </ div >
537
539
< div class ="code "> < span class ="keyword "> var</ span > customer< span class ="punctuation "> = </ span > < span class ="punctuation "> {</ span > name: < span class ="literal "> "Foo"</ span > < span class ="punctuation "> }</ span > < span class ="semi "> ;</ span >
You can’t perform that action at this time.
0 commit comments