Implement the function.sent metaproperty proposal

NEW
Unassigned

Status

()

enhancement
3 years ago
a day ago

People

(Reporter: 446240525, Unassigned)

Tracking

(Blocks 1 bug, {dev-doc-needed})

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [DocArea=JS], )

Reporter

Description

3 years ago
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]
Reporter

Updated

3 years ago
Summary: Implement the function.sent metaproperty (ES7 proposal) → Implement the function.sent metaproperty proposal
Reporter

Comment 1

a year ago
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.