formate a string list js code example
Example: javascript string format
//
const firstName = 'john';
const lastName = 'smith';
const output = `name: ${firstName}, surname: ${lastName}`;
// name: john, surname: smith
//
const firstName = 'john';
const lastName = 'smith';
const output = `name: ${firstName}, surname: ${lastName}`;
// name: john, surname: smith