f string javascript
`string text ${expression} string text`
Nervous Nightingale
`string text ${expression} string text`
const age = 3
console.log(`I'm ${age} years old!`)
const number = 123;
// ` ${somethign} `
`Here you can put any variable ${number} or expression ${number > 100 ? "big" : "small"}`
//
const firstName = 'john';
const lastName = 'smith';
const output = `name: ${firstName}, surname: ${lastName}`;
// name: john, surname: smith