Assigning a variable via jQuery.fn.data() will keep a reference to the original tag value?
<p>Considering the following html:</p>

<pre><code>&lt;div id="test" data-test='["foo", "bar"]'&gt;&lt;/div&gt;
</code></pre>

<p>and the following javascript:</p>

<pre><code>var dataValue = jQuery('#test').data('test');
dataValue.splice(0,1);
</code></pre>

<p>I will then have the following results:</p>

<pre><code>dataValue
['bar']         // as expected, i'm fine with that


jQuery('#test').data('test')
['bar']         // why ? i would expect ['foo', 'bar']
</code></pre>

<p>This might be something really basic I don't understand with javascript itself or jQuery but I'd be happy if someone could shed some light on this.</p>
