一部functionの分岐

This commit is contained in:
harukin-OneMix4
2024-02-14 00:48:34 +09:00
parent 91c8bec6b0
commit 039dff5d8f
7 changed files with 265 additions and 228 deletions

View File

@@ -0,0 +1,7 @@
// Description: 電車名の変換を行う。
// マリンライナーやマリン表記をマリンライナーに変換する。
export const migrateTrainName = (string) => {
return string
.replace("マリン", "マリンライナー")
.replace("ライナーライナー", "ライナー");
};