Template Literals (ES6) - Beau teaches JavaScript

preview_player
Показать описание
How to use template literals in JavaScript ES6. These are surrounded by backticks ``.

More info:

⭐JavaScript Playlists⭐

-
We're busy people who learn to code, then practice by building projects for nonprofits. Learn Full-stack JavaScript, build a portfolio, and get great references with our open source community.

Рекомендации по теме
Комментарии
Автор

i got stuck doing homework (self taught). the thumbnail alone explained everything to me, lol. thanks ❤

yungkakashi
Автор

I still don't quite understand the empty string at 2:54. If there is nothing, should it just return nothing instead of creating an empty string. Could someone explain? Thank you!

sherrysong
Автор

Good last example. It took me 10 minutes to understand it. :)

goodwish
Автор

I had to check to make sure I was watching this at normal speed, man you type fast

VolatilityDoctor
Автор

How the tag function recognized the difference between the strings and values and which to store in the first array and which to store in the second array is not clear. I understand how the ...rest operator works where it places the remaining unknown number of parameters into to an array but how this particular function differentiates between the values and strings is not explained, also why does the tag function place the strings in an array as well?

creativetexan
Автор

wow! it got really complicated really fast, took me a while to digest the last function, but why would we ever use that in daily life coding? the code will be obfuscated AF! LOL

amitavamozumder
Автор

Wow.. Nice explanation of the last MDN example. Bravo.

dimarzio
Автор

Code structured using template literals strips the outline algorithm thereby negating the affect semantic markup would have on web crawlers in search engines. It could be said that hybrid search engines using directories could fill the gap but structured code is the way to go. That being said, there is a lot to take into consideration before avoiding it all together.

colindante
Автор

3:49 my brain can't process that . I got frustrated after seen that . I need more tanning :(

WeirdStuffaaaa
Автор

this was super helpful thank you, but iduno the last example seems so convoluted...(sorry beginner js coder)

Qors
Автор

great explanation of this topic. you made it easy to understand.

leylaziba
Автор

What is this lighting fast typing speed Oo

sithiss
Автор

This was very helpful. Thanks very much!

thesexrace
Автор

can anyone explain why he's put three dots in front of the values parameter in the tag function?

dsuryas
Автор

Powerful but ugly to read js syntax. But useful video. Reminds of small talk blocks

Kenbomp