JS

TypeScript Quiz - type of code example

2.

What is the type of animal in the code example below?

const animal: string = "lion";

undefined

string

number

boolean