---
date: 2020-11-12
id: 9e6dcb99-ffe8-48f2-95d2-3ec5dd20dc9f
title: JavaScript Typeof Operator
---

# Description

Returns value type.

# Syntax

``` javascript
console.log(typeof 4.5)
console.log(typeof "x")
```
