---
title: "#typeof articles | Hashnode"
description: "Explore 11 articles tagged #typeof on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/typeof"
---

Tag

# #typeof

11 posts · 0 followers

[Dhruv Burada](https://hashnode.com/@dhruvburada) · [Jul 27, 2025](https://hashnode.com/posts/javascript-null-bug/6885ab6f9bda81d260ad3986)

### [Why typeof null === 'object' — And Why JavaScript Still Hasn’t Fixed It](https://dhruvburada.hashnode.dev/javascript-null-bug?utm_source=hashnode&utm_medium=feed)

typeof null === "object" isn’t just a weird JavaScript quirk — it’s a 25-year-old bug baked into the language for backward compatibility.

3 min read · [dhruvburada.hashnode.dev](https://dhruvburada.hashnode.dev/javascript-null-bug?utm_source=hashnode&utm_medium=feed)

[pushpesh kumar](https://hashnode.com/@pushpeshkumar) · [May 23, 2025](https://hashnode.com/posts/js-fundamentals-5-javascript-typeof-operator/683088fd304ce55aacff2238)

### [JS Fundamentals #5 — 🧐 JavaScript typeof Operator](https://pushpesh-js-articles.hashnode.dev/js-fundamentals-5-javascript-typeof-operator?utm_source=hashnode&utm_medium=feed)

Ever wanted to know what kind of value a variable holds in JavaScript? That’s where the typeof operator comes in. It tells you the type of any value or variable. But... sometimes it lies. 😅Let’s break it all down: what typeof gives you, what’s true,...

3 min read · [pushpesh-js-articles.hashnode.dev](https://pushpesh-js-articles.hashnode.dev/js-fundamentals-5-javascript-typeof-operator?utm_source=hashnode&utm_medium=feed)

[manoj ymk](https://hashnode.com/@manoj-ymk) · [Apr 15, 2025](https://hashnode.com/posts/lesson-12-mastering-javascript-typeof-with-challenges/67fe01d95a03124fe1e3ff1a)

### [Lesson 12: Mastering JavaScript typeof with challenges!](https://javascript-day-1.hashnode.dev/lesson-12-mastering-javascript-typeof-with-challenges?utm_source=hashnode&utm_medium=feed)

✅ 1. 🔍 What is typeof? The typeof operator is used to get the type of a value as a string. typeof 123 // 'number' typeof "hello" // 'string' typeof true // 'boolean' typeof {} // 'object' Syntax: typeof operand // or typeof(oper...

4 min read · [javascript-day-1.hashnode.dev](https://javascript-day-1.hashnode.dev/lesson-12-mastering-javascript-typeof-with-challenges?utm_source=hashnode&utm_medium=feed)

[Padmanava Das](https://hashnode.com/@Padmanava07) · [Mar 5, 2025](https://hashnode.com/posts/javascripts-data-type-questions-3/67c86ebae05ee4a6f2c55c09)

### [JavaScript’s Data Type Questions #3](https://javascript-for-beginners-2025.hashnode.dev/javascripts-data-type-questions-3?utm_source=hashnode&utm_medium=feed)

Explore key JavaScript data type concepts, including dynamically typed variables, safe integer range, NaN behavior, template literals, and more

3 min read · [javascript-for-beginners-2025.hashnode.dev](https://javascript-for-beginners-2025.hashnode.dev/javascripts-data-type-questions-3?utm_source=hashnode&utm_medium=feed)

[Vansh Sharma](https://hashnode.com/@vanshsharma) · [Dec 27, 2024](https://hashnode.com/posts/keyof-and-typeof-operators-in-typescript/676e53725fe6d639d7ad4f56)

### [Keyof and Typeof Operators in TypeScript](https://vanshsharma.hashnode.dev/keyof-and-typeof-operators-in-typescript?utm_source=hashnode&utm_medium=feed)

Keyof Operator The keyof operator in TypeScript is used to create a union type of all the keys of a given object type. This allows developers to dynamically reference the keys of an object, enhancing type safety and reducing errors in code. For examp...

3 min read · [vanshsharma.hashnode.dev](https://vanshsharma.hashnode.dev/keyof-and-typeof-operators-in-typescript?utm_source=hashnode&utm_medium=feed)

[Prince Patel](https://hashnode.com/@princewritecode) · [Aug 6, 2024](https://hashnode.com/posts/understanding-null-in-javascript-a-primitive-or-an-object/66b1d74f98966ccde43c3be8)

### [Understanding Null in JavaScript: A Primitive or an Object?](https://princewrite.hashnode.dev/understanding-null-in-javascript-a-primitive-or-an-object?utm_source=hashnode&utm_medium=feed)

JavaScript is full of quirks, and one of the most puzzling is the treatment of null. While the official ECMAScript specification defines null as a primitive value, using the typeof operator reveals a surprising result: it returns "object". This appar...

2 min read · [princewrite.hashnode.dev](https://princewrite.hashnode.dev/understanding-null-in-javascript-a-primitive-or-an-object?utm_source=hashnode&utm_medium=feed)

[decpk](https://hashnode.com/@decpk) · [Apr 6, 2024](https://hashnode.com/posts/typeof-type-operator-in-typescript/6611bea92fbabbe348e8d959)

### [typeof type operator in Typescript](https://decpk.hashnode.dev/typeof-type-operator-in-typescript?utm_source=hashnode&utm_medium=feed)

typeof in typescript

3 min read · [decpk.hashnode.dev](https://decpk.hashnode.dev/typeof-type-operator-in-typescript?utm_source=hashnode&utm_medium=feed)

[decpk](https://hashnode.com/@decpk) · [Apr 6, 2024](https://hashnode.com/posts/typeof-operator-in-javascript/66118f26141805a5917cfe0d)

### [typeof operator in Javascript](https://decpk.hashnode.dev/typeof-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

typeof in javascript

4 min read · [decpk.hashnode.dev](https://decpk.hashnode.dev/typeof-operator-in-javascript?utm_source=hashnode&utm_medium=feed)

[Kiprotich Dominic](https://hashnode.com/@kiprotichdominic) · [Feb 28, 2023](https://hashnode.com/posts/vs-vs-typeof-in-javascript/63fe40e25d07635ded1fda40)

### [\== vs === vs typeof in javascript](https://kiprotichdominic.com/vs-vs-typeof-in-javascript?utm_source=hashnode&utm_medium=feed)

In yesterday's lesson, we covered the concepts of Implicit, Explicit, Nominal, Structuring, and Duck Typing in JavaScript. We delved deep into each of these terms and provided some useful references for further study. If you missed that article, you ...

3 min read · [kiprotichdominic.com](https://kiprotichdominic.com/vs-vs-typeof-in-javascript?utm_source=hashnode&utm_medium=feed)

[1](https://hashnode.com/posts/vs-vs-typeof-in-javascript/63fe40e25d07635ded1fda40)

[Hari Krishna Anem](https://hashnode.com/@hkrishna) · [Jan 6, 2022](https://hashnode.com/posts/javascript-count-the-object-depth/630c408c56df9e8e5025043d)

### [JavaScript: Count the object depth](https://harikrishna.hashnode.dev/javascript-count-the-object-depth?utm_source=hashnode&utm_medium=feed)

let myObj = { name: 'hari', location: { city: 'hyderabad' }, a: { b: { c: { d: { e: { f: { g: { h: { i: 10 } } ...

1 min read · [harikrishna.hashnode.dev](https://harikrishna.hashnode.dev/javascript-count-the-object-depth?utm_source=hashnode&utm_medium=feed)
