JavaScript
const firstName = "Takeshi";
const job = "Programmer";
const birthYear = 1982;
const year = 2020;
const theInfo = `I am ${firstName}, a ${(year - birthYear)} years old. And my job is ${job}.`;
console.log(theInfo);
ちなみに改行もバックスラッシュを使うことで、enterキーを押せば良いだけになる。
(Visited 47 times, 1 visits today)