ES6 Tutorial #3: Template Literals(Template Strings) | Modern Javascript 2021

preview_player
Показать описание
ES6 Tutorial #3: Template Literals(Template Strings) | Modern Javascript 2021

Template Literals(Template Strings) in Javascript ES6 are another way to handle strings. To use template string, we will not use single quotes(' ') and double quotes(" "), instead we use back tick(``) syntax.

Topics Covered:
00:00​ - Introduction
00:49 - What is Template Literals/Template Strings
01:22​ - Problem with Double and Single Quotes
03:15 - Template String (Interpolation)
04:36 - Escape Sequence Not Required
05:53 - MultiLine String
06:22 - Expression
08:30 - ConditionalExpression
10:40- Thank you for watching 🙏

Template Literals provides some advantage of using back tick syntax like
1) Better String Creation
2) No need to handle escaping
3)Multi line string
4)String interpolation
5)Expression
6)Complex Expression.

Template Literals are very useful when we have complex string as it handles everything just inside back tick syntax.

I hope you have liked this video. For such more video like and subscribe my
channel

If you want to learn Angular then

Follow us on:

For more such interesting videos, please subscribe to our channel and stay connected.

#templateLiterals​ #ModernJavaScript #NishaSingla
Рекомендации по теме
Комментарии
Автор

This playlist is gold. Did a boot camp and none of these essentials were covered in that. Binge watching your every Js video now. Thanks!!!

corvuzsama
Автор

You are awesome Nisha mam, , , explanation is simple yet on whole another level... Thank you so much for making this playlist.

PankajKumar-tunv
Автор

Good n informative video.
I appreciate your efforts.

Thanks Nisha🙂

ashutoshsingh
Автор

so clearly explained with examples. thank you

rayganmudberry
Автор

Awesome explained everything is clear right now. Thanks

CodeWithJamil
Автор

Nisha, Heartly I"m thanking you Your way of teaching is so awesome Please post videos of Redux JS too if possible

nilayshukla
Автор

Nisha pls continue the angular and give a project...

vasanthapandiyanm
Автор

Good explanation please bring more and also try to explain how the code run step by step it will be very helpful like when function is called and value are passed in a code thanks

kamleshbisht