how to validate the two strings types in javascript function string formatting in node js code example
Example: javascript string format
//
const firstName = 'john';
const lastName = 'smith';
const output = `name: ${firstName}, surname: ${lastName}`;
// name: john, surname: smith