get the last value of an object Javascript or jQuery
<p>I have an object which I'm trying to get the last value of every key and put it into another object. </p>

<pre><code>var setA = {
    'a':'001, 007, 101',
    'b':'052, 004, 006, 005',
    'c':'003, 002, 001'
}
</code></pre>

<p>What I'm trying to do is get the last ones like this:</p>

<pre><code>var setB = {
    'a':'101',
    'b':'005',
    'c':'001'
}
</code></pre>

<p>How might I accomplish this?</p>
