added description and resources for null in javascript (#6242)
parent
8da3fb7220
commit
dcb8df908d
1 changed files with 12 additions and 1 deletions
@ -1 +1,12 @@ |
||||
# null |
||||
# null |
||||
|
||||
The `null` value in JavaScript signifies the deliberate absence of any object value. It is considered as one of JavaScript's primitive values and a `falsy` value. |
||||
|
||||
*Deliberate absence* emphasises the intentional use of `null` to indicate that a variable does not point to any object. This explicit declaration conveys the purposeful nature of null, showing that the variable is meant to be empty or non-existent at execution time. |
||||
|
||||
In essence, `null` is a way to reset a variable, signalling that it should not reference any object. |
||||
|
||||
Visit the following resources to learn more: |
||||
|
||||
- [@article@What is null in JavaScript](https://www.altcademy.com/blog/what-is-null-in-javascript/) |
||||
- [@article@null in JavaScript](https://masteringjs.io/tutorials/fundamentals/null) |
Loading…
Reference in new issue