Any type compatibility

Report a typo

What happens if you assign a value of type any to a variable of another type, like number?

let numValue: number = 100;
let anyValue: any = 42;

numValue = anyValue; //Assigning any value to number variable
Select one option from the list
___

Create a free account to access the full topic