El tipo any en arrays en TypeScript
Con el tipo any se puede declarar
un array que contenga valores de tipo
arbitrario:
typescriptlet arr: any[] = ['abs', true, 3];
Задание 1
Reescriba el siguiente código en TypeScript:
typescriptlet arr = [1, '2', '3', 4, 5];
console.log(arr);