GCGlad Chindainglad.hashnode.dev·Oct 30, 2020 · 8 min readDestructuring JavaScript Arrays Object(ively)TL;DR Since JavaScript arrays are basically objects (with special behavior for index properties), they are valid targets for object destructuring. Hence, making the following destructuring statements equivalent. // Array to be destructured const RGB ...00