Strings in JS / Postman

mail@pastecode.io avatar
unknown
javascript
7 months ago
312 B
0
Indexable
Never
let firstName = "Jamie";
let lastName = "Doe";
let age = 26;

let fullName = `${firstName} ${lastName}`; // ekwiwalent let fullName = firstName + ' ' + lastName;
console.log(fullName, age);

let introduction = `My name is ${firstName} and I am ${age} years old.`;
console.log(introduction);

// comment