Predict real behavior first
JavaScript values, references, scheduling, and resources decide what the program actually does.
TYPE · RUNTIME · EVIDENCE
A first-principles TypeScript course built around one AI coding assistant. Review generated code, modify React, and gradually build a reliable Node.js backend.
JavaScript values, references, scheduling, and resources decide what the program actually does.
TypeScript is early evidence, not runtime magic. Make mistakes visible before execution.
Failure paths, tests, and observability determine whether AI-generated code deserves trust.
Progress stays in this browser. No account required.
4 lessons · 5 hr 15 min · P00–M02 open
Zero-background preparation
Before we begin
Runtime foundations
Async and streams
P0 needs no model credentials. First make events, cancellation, and tests correct.
View project status$ npm run codepilot -- "审查这段任务队列代码"
◇ review.started
│ 检查异步边界与资源清理…
│ 发现:取消后 timer 仍在运行
◆ review.completed