This repository was made while studying with Mosh Hamedani, in Code with Mosh. And it contains all my notes from the course. It can be used as an extensive JavaScript cheatsheet.
- Getting Started
- Basics
- Operators
- Control Flow
- Objects
- Arrays
- Functions
- Welcome (0:28)
- What is JavaScript (4:40)
- Setting Up the Development Environment (3:09)
- JavaScript in Browsers (3:47)
- Separation of Concerns (2:04)
- JavaScript in Node (1:50)
- Source Code
- Variables (5:36)
- Constants (1:44)
- Primitive Type (3:10)
- Dynamic Typing (3:17)
- Objects (5:14)
- Arrays (4:18)
- Functions (4:39)
- Types of Functions (3:16)
- JavaScript Operators (0:40)
- Arithmetic Operators (3:39)
- Assignment Operators (1:44)
- Comparison Operators (2:01)
- Equality Operators (3:11)
- Ternary Operator (2:09)
- Logical Operators (5:30)
- Logical Operators with Non-booleans (5:53)
- Bitwise Operators (8:28)
- Operators Precedence (1:14)
- Quiz
- Exercise - Swapping Variables (2:26)
- If...else (5:23)
- Switch...case (4:41)
- For (5:50)
- While (2:11)
- Do...while (3:29)
- Infinite Loops (2:42)
- For...in (4:25)
- For...of (1:15)
- Break and Continue (2:34)
- Exercise 1- Max of Two Numbers (3:59)
- Exercise 2- Landscape or Portrait (2:25)
- Exercise 3- FizzBuzz (6:39)
- Exercise 4- Demerit Points (9:05)
- Exercise 5- Even and Odd Numbers (2:02)
- Exercise 6- Count Truthy (4:33)
- Exercise 7- String Properties (2:58)
- Exercise 8- Sum of Multiples of 3 and 5 (2:40)
- Exercise 9- Grade (6:32)
- Exercise 10- Stars (2:33)
- Exercise- Prime Numbers (8:24)
- Basics (4:53)
- Factory Functions (5:44)
- Constructor Functions (5:48)
- Dynamic Nature of Objects (2:03)
- Constructor Property (2:24)
- Functions are Objects (4:47)
- Value vs Reference Types (5:49)
- Enumerating Properties of an Object (5:09)
- Cloning an Object (4:21)
- Garbage Collection (1:14)
- Math (2:56)
- String (6:25)
- Template Literals (4:52)
- Date (4:00)
- Exercise 1- Address Object (1:41)
- Exercise 2- Factory and Constructor Functions (3:02)
- Exercise 3- Object Equality (3:59)
- Exercise 4- Blog Post Object (2:15)
- Exercise 5- Constructor Functions (2:52)
- Exercise 6- Price Range Object (3:37)
- Introduction (0:31)
- Adding Elements (3:35)
- Finding Elements (Primitives) (3:32)
- Finding Elements (Reference Types) (5:46)
- Arrow Functions (1:34)
- Removing Elements (3:03)
- Emptying an Array (4:14)
- Combining and Slicing Arrays (3:40)
- The Spread Operator (2:25)
- Iterating an Array (2:31)
- Joining Arrays (3:11)
- Sorting Arrays (6:32)
- Testing the Elements of an Array (3:44)
- Filtering an Array (2:46)
- Mapping an Array (7:47)
- Reducing an Array (6:43)
- Exercise 1- Array from Range (1:50)
- Exercise 2- Includes (1:54)
- Exercise 3- Except (2:08)
- Exercise 4- Moving an Element (6:31)
- Exercise 5- Count Occurrences (4:31)
- Exercise 6- Get Max (6:14)
- Exercise 7- Movies (4:38)
- Function Declarations vs Expressions (3:18)
- Hoisting (1:56)
- Arguments (4:15)
- The Rest Operator (4:38)
- Default Parameters (3:40)
- Getters and Setters (5:38)
- Try and Catch (5:35)
- Local vs Global Scope (4:44)
- Let vs Var (5:52)
- The this Keyword (7:22)
- Changing this (7:00)
- Exercise 1- Sum of Arguments (3:42)
- Exercise 2- Area of Circle (1:53)
- Exercise 3- Error Handling (2:49)