title: how its possible to Assigning value of one property into another by using logical OR operator?
body: <p>I need <strong>ios</strong> code for corresponding Javascript code </p>
  
  <pre><code>var readers = {
      publicAccess: false,
      ids: []
  };
  
      readers.publicAccess = public_read || false; // a = b || c     this is the format .
      readers.ids = reads || [];
  
     //where public_read and reads are two property of another object.
  </code></pre>
  
  <p>Is it possible?</p>