Beginner JavaScript
Q25 / 100

What is a template literal?

Correct! Well done.

Incorrect.

The correct answer is B) A backtick string supporting multi-line text and ${expression} interpolation

B

Correct Answer

A backtick string supporting multi-line text and ${expression} interpolation

Explanation

`Hello, ${name}! You are ${age} years old.` is a template literal. They support multi-line and tagged template literals.

Progress
25/100