serial.writeLine(`This string should not be changed`);
let placeholderValue = "World"; serial.writeLine(`Hello ${placeholderValue}!`);
serial.writeLine("Hello ${placeholderValue}!"); serial.writeLine('Hello ${placeholderValue}!');
serial.writeLine(`Sum of two values: ${10 + 20}`);
function test() { return "test"; } serial.writeLine(`Output of function: ${test()}`);
serial.writeLine(`This string should not be changed`); let placeholderValue = "World"; serial.writeLine(`Hello ${placeholderValue}!`); serial.writeLine("Hello ${placeholderValue}!"); serial.writeLine('Hello ${placeholderValue}!'); serial.writeLine(`Sum of two values: ${10 + 20}`); function test() { return "test"; } serial.writeLine(`Output of function: ${test()}`);