VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Template Literals (ES6) - Beau teaches JavaScript

Template Literals (ES6) - Beau teaches JavaScript

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
How to use template literals in JavaScript ES6. These are surrounded by backticks --. More info: - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals Beau Carnes on
Date: 2022-03-14

Comments and reviews: 4


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?
reply

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.
reply

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!
reply

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
reply
Add a review, comment






Other channel videos