TIL I learned that if you set the `length` property of a javascript array, it will truncate it. So bizarre.
```
a = [1,2,3]
a.length = 0
a === []
You should also learn today Not to do „TIL I learned“ xD
Please Login to reply.
No replies yet.