Is arr.length=0 better than arr=[] in javascript while reseting
<p>I'm improving the performance of a HTML5 Game,while I reset some arrays,in order to reduce the  garbage collection,I tend to use array.length=0(Yet I'm not sure if it's working in real world)<br>
I did some tests to find out the speed of these 2 types of reset array here<br>
<a href="http://tinkerbin.com/hqQvp5fQ" rel="nofollow">http://tinkerbin.com/hqQvp5fQ</a>  </p>
