Closed hax closed 2 years ago
Rust use name "splitn" (lowercase), because it use snake case (a_b_c) in method names, and seems it have one letter prefix/suffix rule, if abbr to one letter, underscore could be omit.
a_b_c
But as JS convention, it seems we should call it "splitN".
https://github.com/tc39/proposal-reversible-string-split/issues/6#issuecomment-1021564898
Makes sense. Renamed in 6607b436531ea4be532efeef211104cb77e38699.
Rust use name "splitn" (lowercase), because it use snake case (
a_b_c
) in method names, and seems it have one letter prefix/suffix rule, if abbr to one letter, underscore could be omit.But as JS convention, it seems we should call it "splitN".