title: Create array in cookie with javascript
body: <p>Is it possible to create a cookie using arrays?</p>
  
  <p>I would like to store <code>a[0]='peter'</code>, <code>a['1']='esther'</code>, <code>a['2']='john'</code> in a cookie in JavaScript.</p>