User Tools

Site Tools


java-script:null-vs-undefined

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

java-script:null-vs-undefined [2023/08/10 02:10] – created odeftajava-script:null-vs-undefined [2023/08/10 03:53] (current) odefta
Line 8: Line 8:
 It is an assignment value that represents the ;;;intentional absence of any object value.;;; \\  It is an assignment value that represents the ;;;intentional absence of any object value.;;; \\ 
 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 (==), null is equal to undefined.**+Comparing with **loose equality ==, null is equal to undefined.**
  
 ===== Undefined ===== ===== Undefined =====
java-script/null-vs-undefined.1691622656.txt.gz · Last modified: 2023/08/10 02:10 by odefta