Can you still?

What's the output?

console.log(`${(x => x)('I love')} to program`);

You missed this one before

Expressions within template literals are evaluated first. This means that the string will contain the returned value of the expression, the immediately invoked function (x => x)('I love') in this case. We pass the value 'I love' as an argument to the x => x arrow function. x is equal to 'I love', which gets returned. This results in I love to program.

Question 113 · see the original (opens in a new tab)