Definition
An object created by a generator function.
Each yield temporarily suspends processing, remembering the
location execution state (including local variables and pending
try-statements). When the generator iterator resumes, it picks up where
it left off (in contrast to functions which start fresh on every
invocation).