Software Development

Explain string interpolation

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

String interpolation - process of evaluating of string literal. For example (JS):

const messages = 5;
console.log(`You have ${messages} new messages`); // You have 5 new messages