AI as a learning tool
Understand the idea
A fluent explanation can still be wrong. Use AI to unpack ideas, then force the answer to survive a counterexample you choose.
What AI is good for while learning
Use a model to unpack a dense idea, compare two approaches, or generate practice questions. Those are accelerators. They are not a substitute for building the mental model yourself. If you cannot explain the idea without looking at the chat transcript, you borrowed wording instead of learning.
Ask for the mechanism, not only the slogan. "Explain async/await" is weak. "Explain what happens to the call stack when await pauses, and give one case where a busy loop still freezes the UI" forces a sharper answer you can check.
AI Lab · spot the flaw
A confident explanation that oversimplifies
A learner asked: "Does async/await make JavaScript multi-threaded?" An assistant answered with the explanation below. It reads clean and assured. One claim is wrong.
text
async/await makes JavaScript multi-threaded.
When you await a fetch, the browser spins up another thread for your JavaScript so the UI stays responsive. That is why await is better than callbacks: your code truly runs in parallel with the rest of the page.
So if you mark a function async, expensive loops inside it will not block the main thread either - the await machinery handles that for you.Where fluent answers mislead
Models optimize for answers that read finished. A wrong claim wrapped in calm prose is still wrong. That is a risk even when no API name was invented: an oversimplified story about threads, equality, or "best practice" can install a durable misconception.
| Move | Useful when | Trap when |
|---|---|---|
| Ask for an explanation | You need a first map of the idea | You stop after reading it once |
| Ask for an alternate approach | You compare tradeoffs | You collect tips without criteria |
| Ask for practice questions | You attempt them yourself first | You peek at answers immediately |
| Ask it to check your restatement | You already wrote the restatement | You let it rewrite your thinking for you |
Productive moves that keep you in charge
After any explanation, close the panel and write three sentences in your own words. Then invent one input or situation that should break a wrong version of the idea. Bring that counterexample back to the model and demand a yes/no survival check. You are training judgment, not collecting paragraphs.
Practice questions without outsourcing judgment
When you ask for practice questions, answer them offline first. Use the model as a second opinion after you commit. If it disagrees, decide why - do not instantly overwrite your answer. The skill you need later is choosing under uncertainty, not retrieving a chat history.
Keep the concept, not only the wording
The point of this track starts here: AI output is a draft claim about the world. Learning with it means keeping authorship of the concept. The worked example logs that goal on purpose: understanding, not copy-paste.
Mental model
FOLLOW THE VALUE
Borrow structure, not ownership.
01 / 03Trace the transformation
Live example
Five logs name the learning loop: tip, check, understanding, not-copy-paste, done.
Your console output appears here.
Guided challenge
Keep the learning goal
The third log says copy-paste. Change it so the goal is understanding.
Your console output appears here.
EXPECTED CONSOLE OUTPUT
Ask for an explanation, then restate it yourself. Write one counterexample the answer must survive. understanding not-copy-paste done
Hints 0/2
Use all hints or make 3 failed runs (0/3).
Free sandbox
Make a variation, test an assumption, or break the example on purpose. This draft is saved separately.
Your console output appears here.
Quiz
A quick check for understanding. Retry as often as you like; your learning path stays open.
Ready to call this one understood?
Mark this lesson complete to earn 100 XP. You can always revisit it.