---
title: Use typeof to Check the Type of a Variable
---
## Use typeof to Check the Type of a Variable

- Use `console.log(typeof variable)` to display the type of the desired variable.

## Solution:
```javascript
console.log(typeof seven);
console.log(typeof three);
```
