Glossary: JavaScript Beyond the Basics
Lazy evaluation
Also written: lazy
Doing work only for the values someone actually asks for. A generator is lazy, so chained generators never copy the whole list.
Glossary: JavaScript Beyond the Basics
Also written: lazy
Doing work only for the values someone actually asks for. A generator is lazy, so chained generators never copy the whole list.