refactor: 哈希表存储属性以支持无上限属性个数

This commit is contained in:
爱特每羊队
2026-06-07 15:25:47 +08:00
parent 52fbd3c3d4
commit f6e635cdbe
19 changed files with 779 additions and 599 deletions
+1 -1
View File
@@ -132,7 +132,7 @@ fn format_result(string_forge: &StringForge, val: JsValue) {
let count = obj.prop_count() as usize;
let mut first = true;
for i in 0..count.min(4) {
let prop_val = obj.get_inline_prop(i as u8);
let prop_val = obj.get_prop_at(i as u8);
if prop_val.is_undefined() {
continue;
}