mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 19:21:11 +08:00
feat: class 私有成员语义(字段/方法/访问器 + brand 检查 + 契约修复)
This commit is contained in:
@@ -36,7 +36,11 @@ fn delete_non_configurable_returns_false_in_sloppy_mode() {
|
||||
"delete obj.x",
|
||||
])
|
||||
.unwrap();
|
||||
assert!(r.is_bool() && !r.as_bool(), "delete non-configurable in sloppy should return false, got {:?}", r);
|
||||
assert!(
|
||||
r.is_bool() && !r.as_bool(),
|
||||
"delete non-configurable in sloppy should return false, got {:?}",
|
||||
r
|
||||
);
|
||||
}
|
||||
|
||||
// ── 删除不存在的属性返回 true ──
|
||||
|
||||
Reference in New Issue
Block a user