How to append values to a cookie instead of overriding the existent values in JavaScript?
<p>For example for the following cookie:</p>

<pre><code>Cookie name: favAnimal
Existent value: donkey
</code></pre>

<p>I want to append this value:</p>

<pre><code>tiger
</code></pre>

<p>without deleting donkey. How to do that? I know I can read the current cookie value, add tiger to that and set the new string as the new cookie value but was wondering if there was a better way.</p>
