Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
julik
9 months ago
|
parent
|
context
|
favorite
| on:
Writing a tiny undo/redo stack in JavaScript
That is deliberate, because I wanted the `past` + `future` to go in the same direction chronologically. They are separate stacks, but they represent a certain continuity in time - so I wanted to have it ordered the same (chronologically)
im3w1l
9 months ago
[–]
push pop is faster though
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: