Practice Learn JavaScript curriculum
Curriculum
Draft
Private preview - this curriculum hub is unpublished.
Sidebar link will be added once content is approved. Not indexed by search engines.
Curriculum . JavaScript

Learn JavaScript for Playwright

Six dedicated deep pages, one per chapter group. Pick where you want to dive in. Each page walks every program from the LearningPlaywrightBatch curriculum, restates the concept in original prose, draws a fresh diagram, and ends with predict-the-output drills. No third-party tutorials, no demo sites you've already seen - just the path from let to async/await.

22
Chapters total
Basics through OOP, mapped from the batch curriculum.
6
Deep pages planned
Foundations, control flow, data, functions, async, OOP.
1
Deep page ready
Foundations chapters 1-4. Five more on the way.
01

Foundations

Ready

chapters 1-4 . ~30 programs . ~45 diagrams

Runtime, V8 engine, var / let / const, the full hoisting deep dive, identifiers + literals, equality, and every operator family.

V8 + JIT var / let / const hoisting + TDZ typeof null bug == vs === ?? + ?. spread / rest
Open foundations
02

Control flow + loops

Coming next

chapters 5-7 . conditionals + loops + truthy

The branches and loops behind every assertion, every data-driven test, every retry pattern. Truthy / falsy decisions, short-circuit evaluation, labelled breaks.

if / else if switch + fall-through for / while / do-while for..in vs for..of break / continue truthy / falsy
Drafting
03

Data structures

Planned

chapters 8-12 . arrays + objects + strings

Locator arrays, response JSON, DOM attributes, CSV rows. 2D arrays, object iteration, the string methods you need to clean scraped text.

map / filter / reduce 2D arrays destructuring Object.keys / entries JSON parse / stringify Map vs object
Planned
04

Functions

Planned

chapters 9 + 13 . declarations + arrows + closures

The unit Playwright fixtures are built from. Function expressions, arrows, IIFEs, default + rest params, the callback pattern that leads into Promises.

declaration vs expression arrow functions IIFE default + rest first-class fn this binding closures
Planned
05

Async

Planned

chapters 14-15 . Promises + async / await

Every Playwright API returns a Promise. Four states, three combinators you actually use, and why await in a forEach is a footgun.

event loop Promise states .then / .catch Promise.all / race async / await microtasks
Planned
06

OOP

Planned

chapters 16-17 . classes + inheritance

Page Object Model is built on classes. Class syntax, constructor, methods, extends, super, # private fields, the prototype chain.

class + constructor extends + super getters / setters static methods # private fields prototype chain
Planned

Companion pages on TTA

Living pages where the concepts above turn into working code. Open each one in a new tab and try the exercises against the running practice page.