Better ways to simplify this function (applying the Do not repeat yourself principle)?

后端 未结 0 484
一整个雨季
一整个雨季 2020-12-23 21:54

I am coding as a hobby and trying my best to make it DRY as possible.

I tried making this function that just simply cleans a string or a value of input by a parameter

相关标签:
回答
  • 消灭零回复
提交回复
热议问题