How to append dom with a item count
<p>I have to insert dom object with a count of times like <code>$('ul').append('&lt;li&gt;',5); //5 times</code></p>

<p>I know how to do that with for loop but i am looking elegant way.</p>
