# Help

**URL:** https://forum.kirupa.com/t/help/123380
**Category:** Uncategorized
**Created:** [September 23, 2004, 3:53am UTC](https://forum.kirupa.com/t/help/123380 "2004-09-23T03:53:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hitsuji\_04](https://avatars.discourse-cdn.com/v4/letter/h/94ad74/32.png) [@hitsuji\_04](https://forum.kirupa.com/u/hitsuji_04)
#### Post date: [September 23, 2004, 3:53am UTC](https://forum.kirupa.com/t/help/123380/1 "2004-09-23T03:53:32Z")

</div>

Hi,  
May I noe how can I remove all elements in an array? I got a quiz where it will store the questions which the user has answered wrongly in an array n when the user press the “try again” button, he will go back to the first question again. I want the array to b reset n restore the questions tat answer wrongly again. Can anyone help mi? Thanx in advance…

For instance:  
tempArray = new Array();  
tempArray.push(dom1);
