on the JVM we use scala.collection.immutable.Vector for this
ClojureScript offers something similar, so at least one JS-based implementation exists. @qiemem has found ClojureScript's data structures packaged separately as http://swannodette.github.io/mori/