code: Object get(int key) {
      return (key >= 0 && key < list.size()) ? list.get(key) : null;
    }
docs: Returns the underlying object at the given index, or null if it does not exist or is out of
  bounds (to match the HTML implementation).