17

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

var z = x || y;

Thanks!

tvanfosson
  • 509,016
  • 97
  • 693
  • 791
anthonypliu
  • 11,779
  • 28
  • 88
  • 152

0 Answers0