iterators-generatorsJavaScriptIterators GeneratorsHardHow is a generator function declared?1With function* syntax and the yield keyword2With the async keyword3With => and return4With the gen keywordBack to list