hodlbod · 9w 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 === [] ``` ben @ben 1766012070 javascript is so fun. i love these quirks.