Iterators, Generators and Proxies
Use iterators, generators and proxies to make lazy sequences, walk trees and watch or guard objects.
- 01
Make a Range You Can Loop Over
- easy
- Code
- 02
Give Missing Properties a Default
- easy
- Code
- 03
Build Lazy Iterator Helpers
- medium
- Code
- 04
Zip and Interleave Iterables
- medium
- Code
- 05
Walk a Tree with Generators
- medium
- Code
- 06
Fetch Every Page with an Async Generator
- medium
- Code
- 07
Allow Negative Array Indexes
- medium
- Code
- 08
Make an Object Deeply Read-Only
- medium
- Code
- 09
Enforce Property Types with a Proxy
- medium
- Code
- Pro
- 10
Drive a Generator Like Async/Await
- hard
- Code
- Pro
- 11
Watch Nested Changes with a Proxy
- hard
- Code
- Pro