refactor: 哈希表存储属性以支持无上限属性个数
This commit is contained in:
@@ -30,7 +30,7 @@ fn object_create_and_read() {
|
||||
assert!(obj.is_object());
|
||||
let obj_ref = unsafe { &*obj.as_js_object_ptr() };
|
||||
assert_eq!(obj_ref.prop_count(), 1, "object should have 1 property");
|
||||
assert!(obj_ref.get_inline_prop(0).is_int());
|
||||
assert!(obj_ref.get_prop_at(0).is_int());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user