Strings in JS / Postman
Anonymous
javascript
09/20/2023 8:51 AM
416 B
20
Indexable
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);
// commentEditor is loading...