0
var X = X || {};

what does mean the phrase? I came across this phrase while "learning the module".

  • 1
    See also: [JavaScript OR (||) variable assignment explanation](https://stackoverflow.com/q/2100758) | [What does the construct x = x || y mean?](https://stackoverflow.com/q/2802055). Related: [Javascript AND operator within assignment](https://stackoverflow.com/q/3163407) | [What is “x && foo()”?](https://stackoverflow.com/q/6970346) | [Is && statement() the same as if() statement()?](https://stackoverflow.com/q/12664230) | [What a strange syntax?](https://stackoverflow.com/q/6829736) – VLAZ Oct 09 '20 at 15:21

0 Answers0