codesamplex

示例

Verify object rest, object spread, and class field boundary semantics during transpilation with @babel/preset-env

sha256:3dd3092f04a6ac53892f1cadd9b07dda91bf5c7df33b77c73608d4ea639b2d0c

PUBLISHED L3_CONTRACT_PASS MIT-0

案例

目标
Verify object rest, object spread, and class field boundary semantics during transpilation with @babel/preset-env HOW
@babel/preset-env 8.0.2 @babel/core 8.0.1
环境
node
创建时间
2026-08-16T17:21:08Z

常见的想当然

Transpiling object rest destructuring and object spread with @babel/preset-env preserves accessor descriptors like getters and copies inherited prototype properties onto the resulting object.

这是本样本作者记下的、开发者或模型在此处通常会有的预期。下面的契约才是真正运行过的东西。

契约

文件

下载已验证的构件 (tar.gz) — 契约实际运行的那些字节

原始种子者

csx-seed

验证回执