Typescript - 1 - Basic types Flashcards

1
Q

Using template literals, how do you output to console hello math if math is stored in a name const?

A
const name = math;

console.log(`Hello ${name}`);
How well did you know this?
1
Not at all
2
3
4
5
Perfectly