fix: matchAll 迭代器 next 按规范重写为 RegExpExec 协议与内部槽语义

This commit is contained in:
2026-09-26 14:35:21 +00:00
parent 381eebb02d
commit d773cc7282
5 changed files with 213 additions and 119 deletions
+1 -1
View File
@@ -684,7 +684,7 @@ fn install_to_string_tags(core: &Arc<KernelCore>, session: &KernelSession) {
(world.map_iterator_proto.as_ptr() as *mut JsObject, "Map Iterator"),
(world.set_iterator_proto.as_ptr() as *mut JsObject, "Set Iterator"),
(world.string_iterator_proto.as_ptr() as *mut JsObject, "String Iterator"),
(world.regexp_string_iterator_proto.as_ptr() as *mut JsObject, "String Iterator"),
(world.regexp_string_iterator_proto.as_ptr() as *mut JsObject, "RegExp String Iterator"),
(world.math_object.as_ptr() as *mut JsObject, "Math"),
(world.json_object.as_ptr() as *mut JsObject, "JSON"),
(world.symbol_proto.as_ptr() as *mut JsObject, "Symbol"),