Language map
The guide, as a route
Each square is a section of the guide. The rook marks where you are; visited sections stay gold. Your progress is saved in this browser.
0 of 35 sections
you are herevisitedahead
One move
Let the message through.
The send is waiting and the program is stuck. Change one number so the value can enter the channel before the receive.
const jobs = chan<number>(0)
jobs <- 7
console.log(<-jobs)buffer
The send waits on an unbuffered channel. The trace confirms a stalemate.
Runtime trace
- jobs: channel created with buffer 0
- The send is waiting for a receiver.
- The send waits on an unbuffered channel. The trace confirms a stalemate.