function.sent is a better alternative to ES6's yield expression's value. https://github.com/allenwb/ESideas/blob/master/Generator%20metaproperty.md And V8 has implemented it today.
Summary: Implement the function.sent metaproperty (ES7 proposal) → Implement the function.sent metaproperty proposal
V8: Remove always-disabled support for function.sent https://bugs.chromium.org/p/v8/issues/detail?id=4700#c5
You need to log in before you can comment on or make changes to this bug.