Add key:value pair if function returns non-null

前端 未结 0 1870
旧时难觅i
旧时难觅i 2020-12-02 05:25

I have a function that does validation for a few categories of input, let\'s say for example username and email.

I would like to split the validation out into separat

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