fix: TA 共享原型父链回退 Object.prototype 对齐规范

This commit is contained in:
2026-09-22 15:48:39 +00:00
parent 20843c8c1d
commit 1be90d90aa
4 changed files with 22 additions and 16 deletions
+1 -1
View File
@@ -311,7 +311,7 @@ impl BuiltinWorld {
(current.data_view_proto.clone(), current.data_view_constructor.clone())
};
let typed_arrays = if dirty.typed_array_family {
make_typed_array_family(string_forge, shape_forge, labels, &array_proto)
make_typed_array_family(string_forge, shape_forge, labels, &object_proto)
} else {
TypedArrayFamily {
typed_array_proto: current.typed_array_proto.clone(),