Skip to content

vyadh/modern-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Modern Introduction to JavaScript

Topics Covered

  1. Introduction to Jest, the test framework used in React and for this course
  2. Variable declarations
  3. JavaScript Types
  4. String, interpolation and some of the available functions
  5. Function declarations and expressions
  6. Array literals and basic functions
  7. Object literals
  8. Array function operations such as map, filter and reduce
  9. Destructuring data including the 'rest' operator
  10. Spread operator
  11. Classes and inheritance
  12. The problem with 'this'
  13. Modules: imports and exports
  14. 'Truthy' and 'Falsy'
  15. Course Project

Further Reading

This is not an advanced JS course and is designed to fit into one day. Some important JS concepts are not covered, but will be needed when writing JS applications that are still important for React development:

Topics

  1. Error handling
  2. HTTP fetch API
  3. Parsing/formatting JSON
  4. Regular expressions (for validation)
  5. Promises and async/await
  6. Service Workers

Books on Modern JavaScript

Eloquent JavaScript [https://eloquentjavascript.net] Simplifying JavaScript [https://pragprog.com/book/es6tips/simplifying-javascript]

Prepare

  1. Open Tests Window (top-right, icon under profile picture)
  2. Make Chrome Fullscreen :)
  3. If you don't like the font, change in Settings / Appearence

If you want to save your work (recommended!), you will also need to:

  1. Create GitHub Account (if you don't have one)
  2. Sign-in to CodeSandbox
  3. Fork this repository

CodeSandbox Keyboard Shortcuts

[https://code.visualstudio.com/docs/getstarted/keybindings#_basic-editing]

Find Editor Shortcut / Action: F1 Save & Prettify: Ctrl-S Delete Line: Ctrl-X (no selection) Duplicate Line Down: Shift+Alt-Down Comment: Ctrl-/ Search & Replace Ctrl-H Expand / Contract Selection: Shift+Alt + -> and Shift+Alt + <-

Important Note

While CodeSandbox shows changes automatically, it does not save your work automatically. Each file needs to be saved with Ctrl-S and will then also be prettified.

Where to start

Open the src/ folder to start part 1.