17

In Javascript, what does it mean when there is a logical operator in a variable declaration? example:

var z = x || y;

Thanks!

tvanfosson
  • 524,688
  • 99
  • 697
  • 795
anthonypliu
  • 12,179
  • 28
  • 92
  • 154

0 Answers0