---
title: "Discussion on \"Coercion in Java Script ( Type Conversion)\" | Hashnode"
description: "Discussion on \"Coercion in Java Script ( Type Conversion)\". Primary data types in java scripts are numbers, string, boolean, null, undefined. So working with js most of the time we need to convert our data from one type to other type.\nIn js type conversion is bit scary but let's try to make it simple.\nwhen we..."
url: "https://hashnode.com/posts/coercion-in-java-script-type-conversion/61aa6da09588ce055cac5600"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Coercion in Java Script ( Type Conversion)](https://prashant0705.hashnode.dev/coercion-in-java-script-type-conversion?utm_source=hashnode&utm_medium=feed)

Primary data types in java scripts are numbers, string, boolean, null, undefined. So working with js most of the time we need to convert our data from one type to other type. In js type conversion is bit scary but let's try to make it simple. when we...

Dec 3, 2021 · 4 min read · prashant0705.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#coding](https://hashnode.com/tag/coding)

## Written by

[prashant\_alagiya](https://hashnode.com/@prashant0705)

@prashant0705

  
[View profile](https://hashnode.com/@prashant0705)

Software Engineer, passionate about java script and react js

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
