use another generator function in generator fuction code example Example: function generator js function* name([param[, param[, ... param]]]) { statements }