java-script:null-vs-undefined
                Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| java-script:null-vs-undefined [2023/08/09 23:10] – created odefta | java-script:null-vs-undefined [2025/01/02 18:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| It is an assignment value that represents the ;;; | It is an assignment value that represents the ;;; | ||
| You can explicitly assign null to a variable to indicate that the variable should have no value. \\ | You can explicitly assign null to a variable to indicate that the variable should have no value. \\ | ||
| - | Comparing with **loose equality  | + | Comparing with **loose equality ==, null is equal to undefined.** | 
| ===== Undefined ===== | ===== Undefined ===== | ||
java-script/null-vs-undefined.1691622656.txt.gz · Last modified:  (external edit)
                
                