ç®çã¨å¯¾è±¡èªè Iteratorã¨Iterableã¨Generatorã¨Generator Functionã®åºå¥ãææ§ãªäºº (è¨äºåå) Generatorã®å¶å¾¡ããã¼ãå®å ¨ç解ããã人 (è¨äºå¾å) ã®ç解ãæ·±ããããã®è¨äºã§ãã ã¾ã¨ã Iteratorã¨Iterableã®é¢ä¿ Iteratorã¯ç義ã«ã¯å¼ã³åºãå ã® next å¼ã³åºãã«å¿ãã¦è¦ç´ ãåºåããã¤ã³ã¿ã¼ãã§ã¼ã¹ã§ããã Iterableã¯Iteratorãçæããã¤ã³ã¿ã¼ãã§ã¼ã¹ã§ããã Iterableã ããã¨ãã£ã¦Iteratorã¨ã¯éãããIteratorã ããã¨ãã£ã¦Iterableã¨ã¯éããªãããããå®éã«ã¯å¤ãã®Iteratorã¯Iterableã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®è£ ãã¦ããã Iterableã¨ã³ã¬ã¯ã·ã§ã³ã¯ç¸äºå¤æå¯è½ã§ããã Iterable㯠for-of ã«ã¼ãã§å¦çã§ããã Iteratorã¨G
{{#tags}}- {{label}}
{{/tags}}