Javascript Shorts #1 — ES6 Template Literals(Strings)

JS Shorts = Bite-sized chunks of JS

Ben Garrison
Aug 28, 2017 · 1 min read

Javascript Shorts are a new type of post that I am exploring. The idea is to present a concept in as few words as possible. Hopefully the reader can read the entire post and absorb the material in under 60 seconds.

Format

  • Briefly address the concept
  • Code snippet(s)
  • Links for further reading

ES6 Template Literals

Template literals are string literals allowing embedded expressions. You can use multi-line strings, string interpolation and expression interpolation features with them. They were called “template strings” in prior editions of the ES2015 specification.

string and expression interpolation

So that’s it for JS Shorts #1, ES6 Template Literals. Let us know your thoughts and questions and PLEASE follow us on twitter. Keep after it.

If you like this article, please recommend and share to help others find it!

)

Ben Garrison

Written by

Technology and Humans. Javascript. Motivation. Positivity. Gratitude. Patience.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade