---
title: "Discussion on \"Checking if a value is a number in Javascript with isNaN()\" | Hashnode"
description: "Discussion on \"Checking if a value is a number in Javascript with isNaN()\". In Javascript, we have numerous ways to check if something is or is not a number. This is a particularly common task in Javascript, where there is dynamic typing, resulting in some unexpected things being classified as numbers. Typescript fixes some ..."
url: "https://hashnode.com/posts/checking-if-a-value-is-a-number-in-javascript-with-isnan/63e02519cad65451652be498"
---

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

Discussion

# [Checking if a value is a number in Javascript with isNaN()](https://fjolt.hashnode.dev/checking-if-a-value-is-a-number-in-javascript-with-isnan?utm_source=hashnode&utm_medium=feed)

In Javascript, we have numerous ways to check if something is or is not a number. This is a particularly common task in Javascript, where there is dynamic typing, resulting in some unexpected things being classified as numbers. Typescript fixes some ...

Feb 5, 2023 · 5 min read · fjolt.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Johnny](https://hashnode.com/@smpnjn)

@smpnjn

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

Product, Engineering, Web

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
