title: How to set multiple cookies with jQuery cookie plugin in one line?
body: <p>I have been using the <a href="https://github.com/carhartl/jquery-cookie" rel="nofollow noreferrer"><strong>jquery Cookie plugin</strong></a> for some time. For setting multiple cookies, I usually do like this:</p>
  
  <pre><code>$.cookie('cookie1', 'value1');
  $.cookie('cookie2', 'value2');
  $.cookie('cookie3', 'value3');
  </code></pre>
  
  <p>And for deleting multiple cookies, I usually do like this:</p>
  
  <pre><code>$.cookie('cookie1', null);
  $.cookie('cookie2', null);
  $.cookie('cookie3', null);
  </code></pre>
  
  <p>I just want to know, Is there some way we can do this is one line?? Something like:</p>
  
  <pre><code>// For setting multiple cookies
  $.cookie({'cookie1', 'value1'},{'cookie2', 'value2'},{'cookie3', 'value2'});
  
  // For deleting multiple cookies
  $.cookie({'cookie1', null},{'cookie2', null},{'cookie3', null});
  </code></pre>
  
  <p>Thanks in Advance!</p>
  
  <p><strong><em>P.S.</strong> The above code is just my assumption.</em></p>