Introduction
Learn JavaScript: Introduction
()
1. What Is JavaScript?
Learning objectives
()
Learn what you can do with JavaScript
()
Look at JavaScript’s language features
()
Learn the pros and cons of JavaScript
()
Learn the JavaScript dialects and browser compatibility
()
Run code using a REPL
()
Learn basic JavaScript syntax
()
2. Learn the Eight JavaScript Data Types
Learning objectives
()
Learn the types
()
Learn about JavaScript’s Number type
()
Learn about JavaScript’s String type
()
Learn about JavaScript’s Boolean type
()
Learn about JavaScript’s Object type
()
Learn about arrays in JavaScript
()
Learn about JavaScript’s function type
()
Learn about JavaScript’s undefined type
()
Learn about JavaScript’s BigInt type
()
Learn about JavaScript’s Symbol type
()
3. Learn Basic JavaScript Control Flow
Learning objectives
()
Learn about equality in JavaScript
()
Learn about if-statements in JavaScript
()
Learn about for-loops in JavaScript
()
Learn about while-loops and do-while loops in JavaScript
()
Handle and throw errors in JavaScript
()
Learn about switch-case blocks in JavaScript
()
Learn about ternary operators in JavaScript
()
Learn the difference between block-scoped and function-scoped variables
()
4. Learn Object-Oriented Programming in JavaScript
Learning objectives
()
Learn about JavaScript classes
()
Learn about prototype-based inheritance
()
Learn about the this keyword in JavaScript
()
5. Work with Arrays and Objects
Learning objectives
()
Use built-in object functions
()
Use built-in array functions
()
6. Learn JavaScript ES6+ Syntax
Learning objectives
()
Write functions using arrow syntax
()
Set default values for function arguments
()
Learn about the spread operator
()
Use object destructuring to get object properties
()
Use interpolation to insert data into strings
()
Learn the import and export code in JavaScript
()
7. Write and Run a JavaScript Program
Learning objectives
()
Learn about writing and running JavaScript programs
()
Write a JavaScript program for the browser
()
Move JavaScript to an external script
()
Install Node.js and NPM
()
Write a Node script
()
Use Babel to transpile code
()
8. Work with Asynchronous Code in JavaScript
Learning objectives
()
Use callbacks to handle asynchronous operations
()
Use Promises to handle asynchronous operations
()
Use async/await to handle asynchronous operations
()
9. Create a Web Server with JavaScript
Learning objectives
()
Learn the basics of writing a Node server
()
Create and set up a Node.js project
()
Create and run a basic Express server
()
Create and test a GET endpoint
()
Read a file with the fs package
()
Create and test a POST endpoint
()
10. Learn JavaScript Dialects in Depth
Learning objectives
()
Use TypeScript to enforce static typing
()
Use CoffeeScript for cleaner syntax
()
Use Dart for improved object-oriented programming
()
11. Use GenAI Tools for JavaScript Development
Learning objectives
()
Use ChatGPT to write JavaScript code
()
Use Google Gemini to write JavaScript code
()
Integrate GitHub Copilot into your IDE
()
Conclusion
Learn JavaScript: Summary
()