Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我写了这样的代码
this._users = users || [];
只是想知道这意味着this._users什么?
this._users
谢谢您的帮助。
这基本上是在评估用户的真假。如果评估为真,则返回用户,否则将一个空数组分配给 this._users 。