From f2aa5a1535b78f1ef369738634b7163ecc6c014b Mon Sep 17 00:00:00 2001 From: Liam Date: Sat, 9 Dec 2023 16:35:50 +0000 Subject: [PATCH] vault backup: 2023-12-09 16:35:50 --- .../Revisiting Variables and Values.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/docs/React/The Complete Guide Docs/Revisiting Variables and Values.md b/docs/React/The Complete Guide Docs/Revisiting Variables and Values.md index 47911e834..6c85fc74c 100644 --- a/docs/React/The Complete Guide Docs/Revisiting Variables and Values.md +++ b/docs/React/The Complete Guide Docs/Revisiting Variables and Values.md @@ -29,4 +29,18 @@ tags: * Boolean * true or false * A simple "yes" or "no" value type -* Typically used in co \ No newline at end of file +* Typically used in conditions +```js +true +false +``` + +* Null or undefined +* "There is no value" +* undefined: Default if no value was assigned yet +* null: Explicitly assigned by the developer (reset value) + +* Variables are data containers +* Variables store a value and can be used as often and in as many places as needed +* +