tc39/proposal-do-expressions resource
Proposal for `do` expressions observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3277
- days_rel: n/a
- days_push: 1972
- n_releases_24m: 0
Adoption not part of the score
1195 stars · 10 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A TC39 ECMAScript stage 1 proposal introducing `do` expressions to JavaScript, allowing statements like conditionals to be used as expressions. The repository contains the proposal documentation, motivation, examples, and preliminary specification text.
Use cases
- write if/else as an expression instead of nested ternaries in JavaScript
- scope variables locally in an expression-oriented style
- use conditional logic inside JSX templates
- track the status of the do expressions language proposal
- understand the TC39 proposal process and spec text
When to choose
- you want to follow or contribute to the evolution of JavaScript syntax
- you need reference material on expression-oriented JavaScript proposals
- you are evaluating future JS language features for tooling support
When to avoid
- you need a feature you can use in production today - this is stage 1 and not standardized
- you want a library or runtime tool rather than a language specification
- you need stable, documented JavaScript behavior
Facets
learning-resource · maturity experimental
programming-language developer-tools programming-languages web-development browser cross-platform ecmascript-proposal tc39 stage-1 javascript-syntax do-expressions specification javascript nodejs
1 source
- readme: https://github.com/tc39/proposal-do-expressions · fetched 2026-08-28 · 0cb90d3ca71b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tc39/proposal-do-expressions | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="tc39/proposal-do-expressions")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem