Some common data structures in js