add to values seperated by a comma
<p>I searched for a solution but could not find,</p>

<p>I have the current script, the numbers are random (changing at different amounts),</p>

<pre><code>var totalAmount = [55.99,7.00];
</code></pre>

<p>I'm trying to add the two values seperated by the comma to equal e.g."<code>totalAmout = 62.99;</code>"</p>

<p>Thank you.</p>
