neerajrathore / javascript-handbook

A handbook 📚 that summaries concepts of JavaScript.
https://javascript-handbook.vercel.app
MIT License
25 stars 39 forks source link

Extend Handbook #10

Closed YockerFX closed 3 weeks ago

YockerFX commented 1 month ago
  1. JavaScript Basics

    • Introduction to JavaScript
    • Syntax and structure
    • Variables (var, let, const)
    • Data types (primitive types like String, Number, Boolean, etc.)
    • Operators (arithmetic, logical, comparison operators)
    • Control structures (if-else, switch, loops like for, while)
  2. Functions

    • Function declaration and invocation
    • Functions as first-class citizens
    • Arrow functions
    • Hoisting and closures
    • Recursion
  3. Objects and Arrays

    • Object literals and constructors
    • Accessing properties and methods
    • Array methods (map, filter, reduce, forEach, etc.)
    • Iterating over objects and arrays
    • Destructuring
  4. Understanding this, Scope, and Closures

    • Global and local scope
    • Block and function scope
    • The this keyword and how it works
    • Closures and their use cases
  5. Prototypes and Inheritance

    • Prototype-based inheritance
    • Object.create() and Object.prototype
    • Difference between classical and prototypal inheritance
    • Introduction to ES6 classes (class syntax)
  6. Asynchronous Programming

    • Callbacks
    • Promises
    • async and await
    • Error handling in asynchronous code
    • Event loop and callback queue
  7. DOM (Document Object Model) Manipulation

    • Basic DOM structure
    • Accessing DOM elements
    • Manipulating elements (modifying text, attributes, classes)
    • Event handling (addEventListener, event bubbling, and capturing)
  8. Event Handling

    • Event bubbling and capturing
    • Different types of events (click, submit, etc.)
    • Event delegation
  9. Error Handling and Debugging

    • try, catch, finally
    • Error objects
    • Debugging with developer tools
  10. Modules and Code Organization

    • ES6 modules (import/export)
    • Module bundlers like Webpack, Rollup
    • IIFE (Immediately Invoked Function Expression)
  11. Advanced Topics

    • Symbol, WeakMap, WeakSet
    • Proxy and Reflect
    • Iterables and Generators
    • Template literals
    • Regular expressions
    • Decorators
    • Web APIs (e.g., fetch, localStorage, sessionStorage)
  12. Testing

    • Basics of unit testing
    • Testing with frameworks like Jest or Mocha
    • Test-Driven Development (TDD)
  13. JavaScript in the Context of Web Applications

    • Introduction to AJAX and Fetch API
    • Cross-Origin Resource Sharing (CORS)
    • JSON: structure, parsing, and serialization
  14. ES6+ (ECMAScript 2015 and Later Versions)

    • New syntax features (e.g., let, const, arrow functions)
    • Destructuring arrays and objects
    • Default parameters
    • Rest and spread operators
    • Classes (class syntax)
    • Async/await and promises
    • Modules
  15. Tools and Workflows

    • Basic Node.js for JavaScript outside the browser
    • NPM (Node Package Manager) and package management
    • ESLint and other linting tools for code quality
    • Babel for compatibility with older browsers
  16. Performance Optimization and Best Practices

    • Code optimization and best practices
    • Minification and bundling of JavaScript files
    • Lazy loading and code splitting
  17. JavaScript Patterns

    • Module pattern
    • Singleton pattern
    • Factory pattern
    • Observer pattern
neerajrathore commented 1 month ago

Hi @YockerFX This issue is linked to #9