SOURCE

let firstName = 'nick';

let lastName = 'woo';

let a = 2;

let allName = `hello ${firstName} ${a===1? 'true':'not'} love ${lastName}`;

console.log(allName);
console 命令行工具 X clear

                    
>
console