Open Bug 1243700 Opened 6 years ago Updated 2 years ago

Implement the function.sent metaproperty proposal

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

People

(Reporter: 446240525, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: dev-doc-needed, Whiteboard: [DocArea=JS])

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.
Keywords: dev-doc-needed
Whiteboard: [DocArea=JS]
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
Blocks: es-proposals-stage-2
No longer blocks: es7
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.