Jquery to get Friday's Date of Current Week from Current Date
<p>Trying to get Friday's date of current week from current date (today's date) using JQuery.</p>

<p>Something like below:(this doesn't work)</p>

<pre><code>var curr = new Date;
var fridayDate = new Date(curr.setDate(curr.getDate() - curr.getDay()+4));
</code></pre>

<p>Thanks in advance!</p>