---
date: 2020-06-13
id: cc70a2c4-2d57-4a17-8c52-ba5f143d830c
title: Type conversion in JavaScript
---

# Type conversion

``` javascript
console.log(8 * null)
console.log("5" - 1)
console.log("5" + 1)
console.log("five" * 2)
console.log(false == 0)
console.log(false == "")
console.log(null == 0)
```
