A. Ghafoor Sayyed

A. Ghafoor Sayyed

Code and documentation contributors of Ghafoor's Blog.

Objects
Symbols
Classes
JavaScript Classes — Syntax, Inheritance, and Modern Features
JavaScript Classes — Syntax, Inheritance, and Modern Features
A complete tour of ES6 classes — constructors, instance and static members, inheritance with extends and super, private fields and methods, getters and setters, and how every class still sits on top of the prototype chain.
Oop
Inheritance
JavaScript Prototypes and the Prototype Chain
JavaScript Prototypes and the Prototype Chain
A deep, practical explanation of JavaScript prototypes — what [[Prototype]] really is, how the prototype chain is searched, the difference between `__proto__` and `prototype`, Object.create, and how prototypes power inheritance under the surface of every class.
Prototypes
JavaScript Objects — The Basics
JavaScript Objects — The Basics
A practical introduction to JavaScript objects — literals, property access, shorthand syntax, computed keys, methods, mutation by reference, and the difference between value semantics and reference semantics.
Async
Functions
Generators
Modern JavaScript Functions — Destructured Parameters, async/await, Generators
Modern JavaScript Functions — Destructured Parameters, async/await, Generators
Modern JavaScript function features — destructured parameters with defaults, async / await, generators, iterators, tagged template literals, and the patterns that make production code readable.
Closures
Higher-Order-Functions
JavaScript Functions in Depth — Closures, this, and Higher-Order Patterns
JavaScript Functions in Depth — Closures, this, and Higher-Order Patterns
A deep dive into the parts of JavaScript functions that everyone has to learn the hard way — closures, the `this` binding, `call` / `apply` / `bind`, higher-order functions, and the patterns built on top of them.
JavaScript Functions — The Basics
JavaScript Functions — The Basics
Introduction to JavaScript functions — function declarations, function expressions, arrow functions, parameters, default values, rest/spread, return values, and the difference between calling and referencing.
Conditionals
Control-Flow
JavaScript Conditionals and Control Flow — if, switch, Ternary, and the Modern Nullish Toolkit
JavaScript Conditionals and Control Flow — if, switch, Ternary, and the Modern Nullish Toolkit
A practical guide to branching in modern JavaScript — truthy and falsy rules, if / else if / else, switch, the ternary operator, short-circuit evaluation, optional chaining (?.), and nullish coalescing (??).