For devs prepping JavaScript interviews
The tricky parts of JavaScript, acted out by a tiny town.
Meet Byte. Each building in ByteTown is one interview concept, told as a short story you can play, pause and scrub through. You watch it happen instead of reading about it.
Drag to look around · click a building
The route through town
Five stops are open, covering the questions that show up in almost every JavaScript interview. Each one ends with a predict-the-output quiz, a cheat sheet and links to MDN. More of the town is being built.
- 1Open now
The Event Loop
The Event Loop Diner
One chef, endless orders. How one thread handles timers, promises and clicks in order.
- · Why does a Promise run before setTimeout(0)?
- · Microtasks vs tasks
- · What does await actually pause?
- 2Open now
Promises & async/await
Promise Pizza Co.
Order now, get a buzzer. Pending, fulfilled or rejected.
- · Promise states and chaining
- · all vs allSettled vs race vs any
- · Error handling with async/await
- 3Open now
Hoisting & the TDZ
Hoisting Hotel
Every name gets a room before the guests arrive.
- · var vs let vs const
- · Temporal dead zone
- · Function declarations vs expressions
- 4Open now
Closures & Scope
Closure Camp
Every function leaves home with a backpack.
- · What is a closure, really?
- · The classic loop + setTimeout bug
- · Private state and memoization
- 5Open now
The `this` keyword
The Call Center
Who picks up depends on who's calling.
- · The 4 binding rules
- · Arrow functions and this
- · call, apply and bind
Being built next
The rest of the frontend interview map. Each one becomes its own place in town.
- 6Coming soon
Prototypes & Inheritance
The Family Tree Library
- 7Coming soon
Types, Coercion & Equality
The Currency Exchange
- 8Coming soon
References & Copying
The Copy Shop
- 9Coming soon
Events, Bubbling & Delegation
Bubble Tower
- 10Coming soon
Debounce & Throttle
Traffic Light Junction
- 11Coming soon
Browser Rendering Pipeline
The Paint Factory
- 12Coming soon
Memory & Garbage Collection
The Recycling Center
- 13Coming soon
Modules: ESM vs CommonJS
Module Market
- 14Coming soon
Iterators & Generators
The Vending Machine
- 15Coming soon
HTTP, Caching & CORS
The Post Office
- 16Coming soon
Web Security: XSS & CSRF
The Town Gate
- 17Coming soon
React Rendering & Hooks
The Theater
Coming soon
Practice Mode: learn to explain it out loud.
Understanding is step one. Practice Mode is where you keep answering until it comes easily. Join the waitlist for early access.
- 1
Predict-the-output drills
Hundreds of snippets. Guess what logs, then watch the town play out the real answer.
- 2
Mock interviews with Byte
Byte asks the follow-ups real interviewers ask, and scores how you explain your answer.
- 3
Machine-coding rounds
Build debounce, a modal or an autocomplete against hidden tests, with a timer running.