Closed Ethazeriel closed 2 years ago
https://stackoverflow.com/questions/1232040/how-do-i-empty-an-array-in-javascript
" Ways to clear an existing array A:
Method 1
(this was my original answer to the question)
A = []; This code will set the variable A to a new empty array. This is perfect if you don't have references to the original array A anywhere else because this actually creates a brand new (empty) array. You should be careful with this method because if you have referenced this array from another variable or property, the original array will remain unchanged. Only use this if you only reference the array by its original variable A."
that's why it's fucked
should be fixed with fc6447f10426aa69f0c1d76ac5bb50c31d96aacc
leaving open until we can test.
why does this happen? why is it fucked example log: