When you run the following code, everything works as expected, but only once. Then browserSync refuses to restart the browser, although in the gulp console it says that everything is working normally.

var obj = { a: 5, b: 6, c: 87 } Object.prototype[Symbol.iterator] = function() { var obj = this; function* gen() { for (var key in obj) { yield obj[key]; } } return gen(); } for (var value of obj) { console.log(value); } 

    0