Strings in JS / Postman
unknown
javascript
2 years ago
312 B
5
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...