Skip to content

Commit 8c762e0

Browse files
[auto] regenerate table of contents
1 parent 0716a08 commit 8c762e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ Here's a table summarizing the 3 ways of loading `<script>`s in a HTML document.
526526
| Trait | `null` | `undefined` | Undeclared |
527527
| --- | --- | --- | --- |
528528
| Meaning | Explicitly set by the developer to indicate that a variable has no value | Variable has been declared but not assigned a value | Variable has not been declared at all |
529-
| Type | `object` | `undefined` | Throws a `ReferenceError` |
529+
| Type (via `typeof` operator) | `'object'` | `'undefined'` | `'undefined'` |
530530
| Equality Comparison | `null == undefined` is `true` | `undefined == null` is `true` | Throws a `ReferenceError` |
531531

532532
<!-- Update here: /questions/whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-go-about-checking-for-any-of-these-states/en-US.mdx -->
@@ -2239,7 +2239,7 @@ To check the data type of a variable in JavaScript, you can use the `typeof` ope
22392239
| Trait | `null` | `undefined` | Undeclared |
22402240
| --- | --- | --- | --- |
22412241
| Meaning | Explicitly set by the developer to indicate that a variable has no value | Variable has been declared but not assigned a value | Variable has not been declared at all |
2242-
| Type | `object` | `undefined` | Throws a `ReferenceError` |
2242+
| Type (via `typeof` operator) | `'object'` | `'undefined'` | `'undefined'` |
22432243
| Equality Comparison | `null == undefined` is `true` | `undefined == null` is `true` | Throws a `ReferenceError` |
22442244

22452245
<!-- Update here: /questions/whats-the-difference-between-a-variable-that-is-null-undefined-or-undeclared-how-would-you-go-about-checking-for-any-of-these-states/en-US.mdx -->

0 commit comments

Comments
 (0)