---
title: Use typeof to Check the Type of a Variable
localeTitle: Utilice typeof para comprobar el tipo de una variable
---
## Utilice typeof para comprobar el tipo de una variable

*   Use `console.log(typeof variable)` para mostrar el tipo de la variable deseada.

## Solución:

```javascript
console.log(typeof seven); 
 console.log(typeof three); 

```