code: function __getArray(source, propName) {
    var arr = source[propName];
    if (!arr) {
      arr = [];
      source[propName] = arr;
    }
    return arr;
  }
docs: end of array functions returns and array for a source and a prop, and creates the prop if needed.