This problem is paper-only - see explanation for the canonical JS solution.
Throttle limits a function to at most one call per interval ms. Leading-edge fixed-window: the first call in any interval-length window fires immediately; subsequent calls within that window are dropped.
For the auto-grader: implement throttleEmissions(events, interval). Given events = [{ value, time }] (sorted by time), return the array of values that a leading-edge throttle would let through, with their fire times.
Window logic: the first event always fires. After firing at time t, ignore all events with time < t + interval. The next event with time >= t + interval fires (becomes the new t).