You are here: irt.org | FAQ | JavaScript | Object | Q382 [ previous next ]
You could try setting the array to null:
<script language="JavaScript"><!--
var xyz = new Array('x','y','z');
alert(xyz);
xyz = null;
alert(xyz);
//--></script> |
Feedback on 'Q382 What is the best way to clear the contents of an array prior to repopulating it?'