COMPONENTS PROGRAMMING / LAB
Explore. Step. Understand.
Step through algorithms. Inspect their data, iterators, and operations.
How it works
- Choose an example above or write your own JavaScript.
- Start the session and use Next step to move through the instructions.
- Inspect the data, iterators, and operation counts. Edit returns to your code without losing it.
Shortcuts: Ctrl / ⌘ + Enter · → ↓
01 Source code
JAVASCRIPT
02 Visualization
Wide visualizations can be scrolled horizontally.Your algorithm, in view.
Choose an example or edit the code. Start a session, then step through to see what changes.
03 Variables & iterators
Variables appear as you step through the code.
04 Operations
Start a session to see the counters.
05 Output
Output appears when the code calls print().
06 Operation log
Operations are logged during execution.