JavaScript Introduction
Variables, Operators and Data Types
Control Flow
OOP and DOM
Error Handling and Regular Expression
JSON and Asynchronous Programming
Hand-On JavaScript Projects
Bonus Section

Template Literals (ES6)

Topic
Materials

// Template literals (ES6)
// Backtick ``
let name = "Rahim";
let age = "38";
let dob = "21 June, 1983";

console.log(`His name is ${name}
His age is ${age}
Date of Birth ${dob}`);

let a = 34
let b = 67
console.log(`${a} + ${b} = ${ a + b }`);
Do NOT follow this link or you will be banned from the site!
×

Cart