In ES6 you can use template strings to more easily construct strings:
var person = { name: "Tom", age: 20 };
// Before:
var string = person.name + " is " + person.name + " years old";
// Now:
var string = `${person.name} is ${person.age} years old`;
Template strings also allow you to write multi-line strings:
var string = `This is<br/>
a multi-line string<br/>
without having to use<br/>
any tricks. Pretty userful<br/>
for HTML`
For much more advanced template strings, check out: https://hacks.mozilla.org/2015/05/es6-in-depth-template-strings-2/
Loading…
49 comments
posted 4 years ago by jnee505
http://instagram.com/f008
posted 4 years ago by varobalabanoglu1
Varolbalabanoglu@gmail.com
posted 4 years ago by falconxunit
How about chrome.
posted 4 years ago by ralitsa
Hellow i nid you help me
posted 4 years ago by btmh2003
Está bonito lindo día para que sientas mal
posted 3 years ago by 5a590a66b67f620012817bc8
Good
posted 3 years ago by florin
Good
posted 3 years ago by 5a8f236f78679e0012cbc9a9
can you help me to
posted 3 years ago by rake
Good coordinator
posted 3 years ago by kingvader
Can you help me
posted 3 years ago by mohdakram
Can you help me plzz
posted 3 years ago by sherrielee
Hello i need someone to help me please
posted 3 years ago by retweett511
Twitter followers follow tweets and Facebook META data transfer t retweett511
posted 3 years ago by tamu18115
automobileservices.org
posted 3 years ago by nelson1576
Hello i need someone to help me please
posted 3 years ago by anspage
окончателен
posted 3 years ago by kenza
M'yfrench
posted 3 years ago by binroq0
Thanks
posted 2 years ago by ashimmg4
Mmmmmm
posted 2 years ago by viloka
Help me plz
posted 2 years ago by nbaboy342
Hey
posted 2 years ago by 5bdf16a8044148001354017b
Home 102 it show
posted 2 years ago by quangthong81
Concat
posted 2 years ago by 5c3e8cb77bc7300012929b96
su-wan.examples.io
posted 2 years ago by borathyun
Vous avez mis trop de temps pour faire le virement et le transfert de mon argent. Ce compte doit être normalement soldé depuis Décembre 2018, et nous sommes déjà en Juin 2019. On doit me payer 10% d'intérêts de retard dès le 25/6/2019 et 20% d'intérêts de retardet ainsi de suite
Merci
Borath YUN
Boost Software License - Version 1.0 - August 17th, 2003
Permission is hereby granted, free of charge, to any person or organization
obtaining a copy of the software and accompanying documentation covered by
this license (the "Software") to use, reproduce, display, distribute,
execute, and transmit the Software, and to prepare derivative works of the
Software, and to permit third-parties to whom the Software is furnished to
do so, all subject to the following:
The copyright notices in the Software and this entire statement, including
the above license grant, this restriction and the following disclaimer,
must be included in all copies of the Software, in whole or in part, and
all derivative works of the Software, unless such copies or derivative
works are solely in the form of machine-executable object code generated by
a source language processor.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT
SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE
FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE. By David L. Porter