---
title: "Discussion on \"What exactly is JavaScript Tagged Template Literal?\" | Hashnode"
description: "Discussion on \"What exactly is JavaScript Tagged Template Literal?\". Before ES6(ECMAScript 2015), we have used single quotes('...') and double quotes(\"...\") to wrap string literals. A simple example is,\nvar msg = \"Hello, I'm Joe and my favorite color is purple\";\n\nThere were limitations when we had to concatenate multi..."
url: "https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [What exactly is JavaScript Tagged Template Literal?](https://blog.greenroots.info/what-exactly-is-javascript-tagged-template-literal?utm_source=hashnode&utm_medium=feed)

Before ES6(ECMAScript 2015), we have used single quotes('...') and double quotes("...") to wrap string literals. A simple example is, var msg = "Hello, I'm Joe and my favorite color is purple"; There were limitations when we had to concatenate multi...

Oct 12, 2020 · 9 min read · blog.greenroots.info  
Updated Feb 23, 2021  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#es6](https://hashnode.com/tag/es6)
-   [#programming](https://hashnode.com/tag/programming)
-   [#beginners](https://hashnode.com/tag/beginners)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Tapas Adhikary](https://hashnode.com/@atapas)

@atapas · Bangalore

  
[View profile](https://hashnode.com/@atapas)

Educator @tapaScript | Founder CreoWis & ReactPlay - Writer - YouTuber - Open Source

Co-Founder, @CreoWis | Teacher, @tapaScript | Founder, @ReactPlay | YouTuber | Writer | Human

## Responses 3

Markdown supported · ⌘↵ to post

[Mirwais Danish](https://hashnode.com/@MirwaisDanish)

[Mar 15, 2025](https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda/comment/67d501657443dd47019796b8)

I was a little bit familar but I want to know in deep with this topic

[Subha Chanda](https://hashnode.com/@nemo)

[Oct 12, 2020](https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda/comment/5f848dcc94b1323900e0d870)

Didn't know about it. Thanks for sharing! 😊

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 12, 2020](https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda/comment/5f848dcc94b1323900e0d870#reply-5f8490fe94b1323900e0d8ac)

Thanks Subha.

[Skay](https://hashnode.com/@skay)

[Oct 12, 2020](https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda/comment/5f844af994b1323900e0d4fa)

Great Post [Tapas Adhikary](https://hashnode.com/@atapas)! Learned something new... Kudos...

[Tapas Adhikary](https://hashnode.com/@atapas)

[Oct 12, 2020](https://hashnode.com/posts/what-exactly-is-javascript-tagged-template-literal/5f8448326ad92638db493cda/comment/5f844af994b1323900e0d4fa#reply-5f84732c6ad92638db493f01)

Thank you!
