Menu
×
×
Correct!
Exercise:Cast the "unknown" variable myVar as a string, using < >:
let myVar: unknown = "Hello world!";
console.log(@(15).length);
let myVar: unknown = "Hello world!";
console.log((<string>myVar).length);
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 30 exercises.
Are you sure you want to continue?