Lucio Tato (2013-10-26T23:59:39.000Z)
domenic at domenicdenicola.com (2013-11-02T19:03:03.779Z)
Rick: I understand. But it is always a trade-off. If the reason to introduce a new construct is because there may already be code that defines a function called `yield`, it seems to me as a bad trade-off. (advantages vs disadvantages) In your example... ``` function yield() {... <- will raise a parsing error. ``` Anyway, there are other ways to solve that. You can put the asterisk in "yield" instead of the important "function". It's a lot less confusing. ```js function fibonacci() { let [prev, curr] = [0, 1]; for (;;) { [prev, curr] = [curr, prev + curr]; yield*(curr); } } ```