Added snipped of ECMA 6 generators example