in js/index.js [441:450]
get itemHeights() {
if (!this._itemHeights) {
const { defaultItemHeight, items } = this.options;
this._itemHeights = new BinaryIndexedTree({
defaultFrequency: Math.max(defaultItemHeight, 1),
maxVal: items.length,
});
}
return this._itemHeights;
}