Gain a conversant understanding of JavaScript, including variables, types, objects, arrays, operators, control structures, loops, and functions.
Overview
Syllabus
Introduction
- Become conversant in JavaScript
- What you should know
- Exercise files and Codespaces
- Syntax: Learning to read and write
- Versions of JavaScript
- Places to tinker
- Your friend the text editor
- Additional helpful resources
- Declaring and assigning variables
- Strings
- String properties and methods
- Numbers
- Booleans for what is true
- Variable mutability
- Objects
- Using objects for data modeling
- Manipulating objects
- Jargon: References
- Arrays
- Manipulating arrays
- Readability: Whitespace
- Readability: Comments
- Regular expressions
- Simple comparisons
- Arithmetic operators
- Logical operators
- Conditionals: If
- Conditionals: Switch
- Terse ifs: One-liners
- Terse ifs: Ternaries
- Type checking
- For loops: Sequential
- For loops: Enumerative
- Set and Map: Newer loopable data types
- While loops
- Basic functions
- Arguments and parameters in functions
- More on function arguments
- Objects, references, and functions
- Functions are objects
- Jargon: Scope in JavaScript
- Functions and scope
- Writing shorter functions with arrows
- Three little dots collect the rest
- Callback functions and looping
- Asynchronous code: Waiting is the hardest part
- Promises, async, and await
- Object-oriented JavaScript: Prototypes and classes
- Jargon: Strong vs. loosely typed
- Modern JavaScript tooling
- Continue your JavaScript development journey
Taught by
Joe Chellman