A small bit of code to create fixed-length, first-in-first-out arrays in JavaScript.