JavaScript Promises Explained: States, then, catch, finally and Chaining
Learn JavaScript promises: pending, fulfilled and rejected states, creating promises, then, catch and finally, chaining, error propagation and common mistakes.
Online Learning Platform
Free tutorials, solved practice problems and interview prep for QA and automation engineers: Python, Playwright, Selenium, SQL, Git and more.
Learn JavaScript promises: pending, fulfilled and rejected states, creating promises, then, catch and finally, chaining, error propagation and common mistakes.
Understand the JavaScript event loop: the call stack, task and microtask queues, setTimeout vs promises, process.nextTick and why blocking code freezes apps.
Learn asynchronous callbacks and timers in JavaScript: setTimeout, setInterval, clearing timers, error-first callbacks, callback hell and polling helpers.
Learn to debug JavaScript: read stack traces, use breakpoints, logpoints and watches in VS Code, node --inspect, Chrome DevTools and Playwright debug tools.
Learn to create custom error classes in JavaScript: extend Error, add codes and context, error hierarchies, cause chains, AggregateError and test failures.
Learn the four OOP principles in JavaScript: encapsulation, abstraction, inheritance and polymorphism, plus duck typing, mixins, composition and SOLID basics.
Learn JavaScript class inheritance: extends, super(), calling parent methods, overriding, extending Error, instanceof and when to prefer composition.
Learn JavaScript getters and setters, validation in setters, computed properties, private #fields and #methods, static private members and the in check.
Learn JavaScript prototypes: the prototype chain, Object.create, constructor functions with new, shared methods, instanceof and how classes use prototypes.
Learn JavaScript classes: constructor, instance methods, class fields, static methods and fields, this in classes, and a page object class for test automation.
Learn JavaScript Map, Set, WeakMap and WeakSet: methods, iteration, Map vs object, set operations like union and intersection, and real testing examples.
Learn JSON in JavaScript: syntax rules, JSON.parse and JSON.stringify, replacer, reviver and indentation, reading JSON files in Node.js and deep copying.
Take free timed mock tests with answers and explanations.