Menu
×
×
Correct!
Exercise:Create a function that returns the string "Learning is Fun!", with the return type explicitly defined:
function myFunc(): string {
return "Learning is Fun!";
}
Not CorrectClick here to try again. Correct!Next ❯myFunc(): { "Learning is Fun!"; } |