# Lesson 1: Values, variables and const We look at values, variables and const the way working developers use it, with examples you can change and run straight away. Full lesson: [https://glibcode.net/courses/javascript-web/lessons/1](https://glibcode.net/courses/javascript-web/lessons/1) ## Files - `values.js`: let, const and the basic types > **Tip:** `console.table(array)` is much easier to read than `console.log` for lists of objects. > **Tip:** Use `===` unless you have a reason not to. > **Tip:** Optional chaining saves a lot of `if`s: `user?.address?.city`. > **Tip:** The browser's Network tab shows every `fetch` with its status and response. ## Run it ```sh node values.js ``` ## Exercises See [exercises.md](exercises.md). Ask in the forum once you've tried.