About 1,430,000 results
Open links in new tab
  1. null - JavaScript | MDN - MDN Web Docs

    Oct 28, 2025 · The null keyword refers to the null primitive value, which represents the intentional absence of any object value.

  2. Null in JavaScript - GeeksforGeeks

    Jun 5, 2024 · It's a primitive value that denotes the absence of a value or serves as a placeholder for an object that isn't present. `null` differs from `undefined`, which signifies a variable that has been …

  3. How do I check for null values in JavaScript? - Stack Overflow

    JavaScript is very flexible with regards to checking for "null" values. I'm guessing you're actually looking for empty strings, in which case this simpler code will work: Which will check for empty strings (""), …

  4. An Essential Guide to JavaScript null

    This tutorial helps you understand the JavaScript null and how to handle it effectively to make your code more robust.

  5. null and undefined | web.dev

    Mar 31, 2024 · Although undefined and null have some functional overlap, they have different purposes. In the strictest sense, null represents a value intentionally defined as "blank," and undefined …

  6. `null` in JavaScript - Mastering JS

    Dec 2, 2020 · In JavaScript, `null` is a primitive that represents the intentional absence of a value. Here's what you need to know.

  7. JavaScript Data Types - W3Schools

    In JavaScript, a variable or an expression can obtain the datatype null in several ways. A function can return null or a variable can be assigned the null value:

  8. Everything about null in JavaScript - Dmitri Pavlutin Blog

    Sep 21, 2020 · In this post, you'll learn everything about null in JavaScript: its meaning, how to detect it, the difference between null and undefined, and why using null extensively creates code maintenance …

  9. JavaScript Null - Representing Absence - ZetCode

    Apr 16, 2025 · In this article we explore the null keyword in JavaScript, which represents the intentional absence of any object value. We'll examine its behavior and usage through practical examples.

  10. JS Check for NullNull Checking in JavaScript Explained

    Aug 24, 2024 · Not properly accounting for null and undefined variable states will lead to unwanted bugs in any JavaScript codebase. As a full-stack developer who continually deals with real-world null …