mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-23 18:21:13 +08:00
fix: split 委托 Symbol.split 并补零宽与 limit 口径
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user