Skip to content

Support for ECMAScript 'do'-expressions #13156

Open
@CodySchaaf

Description

@CodySchaaf

Sorry if this has been discussed but it is hard to search for such a generic combination of words.

Is there any plan to implement support for https://github.com/tc39/proposal-do-expressions http://wiki.ecmascript.org/doku.php?id=strawman:do_expressions

It would be awesome to be able to avoid the extra code required when wrapping an if statement in a function to get a dynamic return value.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    ES NextNew featurers for ECMAScript (a.k.a. ESNext)SuggestionAn idea for TypeScriptWaiting for TC39Unactionable until TC39 reaches some conclusion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions