Y
Hacker News
new
|
ask
|
show
|
jobs
by
ggorlen
1033 days ago
In the "1 Piece history with 1 roll" code, a global variable `piece` is introduced. There should be a `let piece;` at the top of the function body to scope it locally.