fix: split 委托 Symbol.split 并补零宽与 limit 口径

This commit is contained in:
2026-09-22 07:45:34 +00:00
parent 169f4b2984
commit fb9365bde2
6 changed files with 258 additions and 92 deletions
+1 -1
View File
@@ -256,7 +256,7 @@ impl BuiltinWorld {
("padEnd", methods.pad_end, 1),
("startsWith", methods.starts_with, 1),
("endsWith", methods.ends_with, 1),
("split", methods.split, 1),
("split", methods.split, 2),
("replace", methods.replace, 2),
("match", methods.match_fn, 1),
("search", methods.search, 1),