const max = 100
let FizzBuzz = function* (){
let num = 1;
while (num <= max) {
let value = num;
num++;
if (value % 15 === 0) {
value = 'WizeServices';
} else if (value % 3 === 0) {
value = 'Wize';
} else if (value % 5 === 0) {
value = 'Services';
}
yield value;
}
}();
for (var n of FizzBuzz) {
console.log(n);
}