nodejs object object template string

// Step 1: Create an object
const person = {
  name: 'John',
  age: 30,
  city: 'New York'
};

// Step 2: Use a template string to create a formatted string
const formattedString = `Name: ${person.name}, Age: ${person.age}, City: ${person.city}`;

// Step 3: Output the formatted string
console.log(formattedString);