In JavaScript, you can create iterable objects using generators.
Purpose
You can turn infinite functions, like those calculating Fibonacci numbers, into controllable iterables.
Syntax
However, it lacks encapsulation and feels like simply using the generator as is.
Improvement
The design of calling the Fibonacci variable itself generates side effects, allowing it to be used in the concept of "activation."