Lesson 2: add a tip

Daniel Tanaka 6 months ago
parent 4b9517dc4f commit 5074f547ab02df3c312dfe258e8ba2a4e45a0113
1 changed files with 2 additions and 0 deletions
+2-0lessons/02-functions-and-arrow-functions/README.md
@@ -8,6 +8,8 @@
88
99 - `functions.js`: function declarations and arrow functions
1010
11+> **Tip:** Optional chaining saves a lot of `if`s: `user?.address?.city`.
12+
1113 ## Run it
1214
1315 ```sh