-1

i have written my code something like this

  this._users = users || [];

just wanted to know what does this mean to this._users?

Thanks for the help.

user1224036
  • 988
  • 1
  • 15
  • 34

1 Answers1

0

This basically is evaluating users to true or false. If it evaluation is true, than return users otherwise, assigns an empty array to this._users .

sla55er
  • 791
  • 1
  • 8
  • 16