mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-26 19:51:11 +08:00
docs: 补充注释与格式化
This commit is contained in:
@@ -166,7 +166,7 @@ fn object_proto_has_own_property_call_works() {
|
||||
#[test]
|
||||
fn object_proto_property_is_enumerable_call_works() {
|
||||
let (_vm, result) = eval("Object.prototype.propertyIsEnumerable.call(Object, 'assign')").unwrap();
|
||||
// Built-in methods are non-enumerable per the ES spec.
|
||||
// 内置方法按 ES 规范不可枚举。
|
||||
assert_eq!(result, JsValue::bool(false));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user