calling a function inside class model.js

后端 未结 0 790
别那么骄傲
别那么骄傲 2021-02-01 23:04

I have 2 functions inside model.js, findUser(id) and findById(userId). they are both inside class. Inside findById(userId), I want to call findUser(id). how can I do that?

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