JavaScript ES6: Test

Syum Akhlaque
Nov 2, 2020

1. Template String:

Template string is a useful invention of ES6. Before ES6 to add a siring and number uses plus (+) sign. In ES6 template we use ` ` template sign . Hare is an example:

Expected output : HI I am syum,phone 016000000 Thanks .

2. Multiline String:

The more interesting subject is in template string you need not to use br tag for line break. Just place an enter where you need line break .

--

--

Syum Akhlaque
0 Followers

MERN Stack Developer. From Cumilla, Bangladesh.