#01 - Template Literals - Modern Javascript (ES6+) Tutorial

preview_player
Показать описание
In this ES6+ tutorial, we teach you how to use Template Literals to execute expressions, directly inside your strings.

We cover the following topics:
0:00 - Template Literals & String Interpolation
0:52 - Expressions inside a Template Literal
1:28 - Multiline Strings
1:54 - Parse Template Literals with functions
2:47 - Next up

Check out the Modern Javascript playlist for more ES6+ tutorial videos

Subscribe to the channel and never miss a lesson

Visit the website for a wide range of programming tutorials
Рекомендации по теме
Комментарии
Автор

let firstName: string = "Kevin";
console.log(`Hello ${firstName}!`);

let a: number = 10;
let b: number = 20;
let c: number = a + b;
console.log(`${a} + ${b} = ${c}`);

const greeting = (name: string): string => {
return `Hello I'm ${name}`;
}

kvelez