Utility library for working with 2D arrays (arrays of arrays) in JavaScript