awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

1 个仓库

Awesome GitHub RepositoriesECMAScript Match Expressions

Adds a match expression to JavaScript for declarative inspection and branching on data structures with destructuring and guards.

Distinct from Structural Pattern Matching: Distinct from Structural Pattern Matching: focuses on the ECMAScript-specific match expression syntax, not general structural pattern matching.

Explore 1 awesome GitHub repository matching programming languages & runtimes · ECMAScript Match Expressions. Refine with filters or upvote what's useful.

Awesome ECMAScript Match Expressions GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • tc39/proposal-pattern-matchingtc39 的头像

    tc39/proposal-pattern-matching

    5,782在 GitHub 上查看↗

    This is a TC39 proposal to add declarative pattern matching syntax to the ECMAScript language. It introduces a match expression that allows developers to inspect and branch on data structures using patterns with destructuring, guards, and logical combinators. The proposal defines a custom matcher protocol via a well-known symbol, enabling objects to implement user-defined matching logic with arbitrary extraction and decomposition. The proposal supports matching against literal primitives using SameValue equality with special handling for signed zero and NaN, as well as relational comparison

    Proposes a match expression for JavaScript with destructuring, guards, and logical combinators.

    HTML
    在 GitHub 上查看↗5,782
  1. Home
  2. Programming Languages & Runtimes
  3. Structural Pattern Matching
  4. ECMAScript Match Expressions