Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar


Por supuesto:

TypeScript

» Iniciar este curso
(Practica preguntas similares gratis)
Pregunta:

What type will TypeScript infer for "age"? const age = 6

Autor: John Pencola



Respuesta:

6 Because the age variable is a const, it is the most specific type TypeScript can associate with it.


0 / 5  (0 calificaciones)

1 answer(s) in total